pink-700
#c6005cTailwind CSS v4.3.3 pink-700 is oklch(52.5% 0.223 3.958) in OKLCH, the format Tailwind uses, and #c6005c in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-pink-700/50.
Text on pink-700
- Aawhite5.89:1Readable · AA
- Aablack3.56:1Hard to read
- Aapink-505.39:1Readable · AA
Most readable text from the pink scale: pink-50
Tailwind pink scale
Step 700 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind pink-700?
pink-700 is #c6005c in HEX, rgb(198 0 92) in RGB and oklch(52.5% 0.223 3.958) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind pink-700 accessible for text?
White text on pink-700 has a contrast ratio of 5.89:1 and black text 3.56:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so white text is the better choice here.
How do I use pink-700 in Tailwind CSS?
Add bg-pink-700, text-pink-700 or border-pink-700 to an element. In your own CSS use var(--color-pink-700), the CSS variable Tailwind v4 creates for every color.