pink-800
#a3004cTailwind CSS v4.3.3 pink-800 is oklch(45.9% 0.187 3.815) in OKLCH, the format Tailwind uses, and #a3004c in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-pink-800/50.
Text on pink-800
- Aawhite7.9:1Readable · AA
- Aablack2.66:1Hard to read
- Aapink-507.23:1Readable · AA
Most readable text from the pink scale: pink-50
Tailwind pink scale
Step 800 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind pink-800?
pink-800 is #a3004c in HEX, rgb(163 0 76) in RGB and oklch(45.9% 0.187 3.815) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind pink-800 accessible for text?
White text on pink-800 has a contrast ratio of 7.9:1 and black text 2.66: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-800 in Tailwind CSS?
Add bg-pink-800, text-pink-800 or border-pink-800 to an element. In your own CSS use var(--color-pink-800), the CSS variable Tailwind v4 creates for every color.