#AF204B#AF204B
#AF204B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.178 H 9.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF204B |
|---|---|
| RGB | rgb(175, 32, 75) |
| HSL | hsl(342, 69%, 41%) |
| HSV | hsv(342, 82%, 69%) |
| CMYK | cmyk(0%, 81.7%, 57.1%, 31.4%) |
| CIE-LAB | lab(39.00, 57.67, 12.16) |
| CIE-LCH | lch(39.00, 58.94, 11.91°) |
| OKLab | oklab(49.7% 0.175 0.0306) |
| OKLCH | oklch(49.7% 0.178 9.9) |
| XYZ | xyz(19.4677, 10.6579, 7.6873) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.15
Purplish Red
#B0054B
ΔE00 2.20
Rouge
#AB1239
ΔE00 4.54
Cranberry
#9E003A
ΔE00 5.07
Rose Red
#BE013C
ΔE00 5.34
Light Burgundy
#A8415B
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF204B #20AF84
analogous
#AF2092 #AF204B #AF3C20
triadic
#AF204B #4BAF20 #204BAF
tetradic
#AF204B #92AF20 #20AF84 #3C20AF
square
#AF204B #92AF20 #20AF84 #3C20AF
split-complementary
#AF204B #20AF3C #2092AF
monochromatic
#480D1F #7B1735 #AF204B #DA3365 #E3668C
Accessibility & contrast
On white
6.71
#AF204B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AF204B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF204B
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF204B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF204B | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49494C
Deuteranopia (green-blind)
#6D6647
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af204b; /* rgb */ color: rgb(175, 32, 75); /* oklch */ color: oklch(49.7% 0.178 9.9);
Tailwind
colors: {
custom: {
50: '#ce6c7c',
500: '#af204b',
950: '#000000',
},
}SCSS
$custom: #af204b; $custom-light: #ce6c7c; $custom-dark: #000000;
JSON
{
"hex": "#af204b",
"rgb": {
"r": 175,
"g": 32,
"b": 75
},
"hsl": {
"h": 341.958,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.49698,
"c": 0.17766,
"h": 9.9
},
"luminance": 0.10655
}Semantic roles & 50–950 ramp
primary
#AF204B
secondary
#62C8AA
accent
#ECB73C
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B