#AF204C#AF204C
#AF204C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.178 H 9.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AF204C |
|---|---|
| RGB | rgb(175, 32, 76) |
| HSL | hsl(342, 69%, 41%) |
| HSV | hsv(342, 82%, 69%) |
| CMYK | cmyk(0%, 81.7%, 56.6%, 31.4%) |
| CIE-LAB | lab(39.02, 57.74, 11.56) |
| CIE-LCH | lch(39.02, 58.89, 11.32°) |
| OKLab | oklab(49.72% 0.1754 0.0292) |
| OKLCH | oklch(49.72% 0.178 9.4) |
| XYZ | xyz(19.5021, 10.6717, 7.8690) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.04
Raspberry (survey)
#B00149
ΔE00 2.06
Rouge
#AB1239
ΔE00 4.83
Cranberry
#9E003A
ΔE00 5.17
Light Burgundy
#A8415B
ΔE00 5.31
Rose Red
#BE013C
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF204C #20AF83
analogous
#AF2094 #AF204C #AF3B20
triadic
#AF204C #4CAF20 #204CAF
tetradic
#AF204C #94AF20 #20AF83 #3B20AF
square
#AF204C #94AF20 #20AF83 #3B20AF
split-complementary
#AF204C #20AF3B #2094AF
monochromatic
#480D1F #7B1736 #AF204C #DA3366 #E3668D
Accessibility & contrast
On white
6.70
#AF204C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AF204C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF204C
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF204C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF204C | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484A4D
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af204c; /* rgb */ color: rgb(175, 32, 76); /* oklch */ color: oklch(49.7% 0.178 9.4);
Tailwind
colors: {
custom: {
50: '#ce6c7d',
500: '#af204c',
950: '#000000',
},
}SCSS
$custom: #af204c; $custom-light: #ce6c7d; $custom-dark: #000000;
JSON
{
"hex": "#af204c",
"rgb": {
"r": 175,
"g": 32,
"b": 76
},
"hsl": {
"h": 341.538,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.49724,
"c": 0.17781,
"h": 9.4
},
"luminance": 0.10669
}Semantic roles & 50–950 ramp
primary
#AF204C
secondary
#62C8A9
accent
#ECB63C
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B