#AF204A#AF204A
#AF204A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.178 H 10.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF204A |
|---|---|
| RGB | rgb(175, 32, 74) |
| HSL | hsl(342, 69%, 41%) |
| HSV | hsv(342, 82%, 69%) |
| CMYK | cmyk(0%, 81.7%, 57.7%, 31.4%) |
| CIE-LAB | lab(38.97, 57.60, 12.77) |
| CIE-LCH | lch(38.97, 59.00, 12.50°) |
| OKLab | oklab(49.67% 0.1746 0.032) |
| OKLCH | oklch(49.67% 0.178 10.4) |
| XYZ | xyz(19.4337, 10.6443, 7.5085) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.29
Purplish Red
#B0054B
ΔE00 2.40
Rouge
#AB1239
ΔE00 4.26
Cranberry
#9E003A
ΔE00 4.99
Rose Red
#BE013C
ΔE00 5.07
Ruby
#CA0147
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF204A #20AF85
analogous
#AF2091 #AF204A #AF3E20
triadic
#AF204A #4AAF20 #204AAF
tetradic
#AF204A #91AF20 #20AF85 #3E20AF
square
#AF204A #91AF20 #20AF85 #3E20AF
split-complementary
#AF204A #20AF3E #2091AF
monochromatic
#480D1E #7B1734 #AF204A #DA3364 #E3668B
Accessibility & contrast
On white
6.71
#AF204A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AF204A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF204A
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF204A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF204A | 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)
#49494B
Deuteranopia (green-blind)
#6D6646
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af204a; /* rgb */ color: rgb(175, 32, 74); /* oklch */ color: oklch(49.7% 0.178 10.4);
Tailwind
colors: {
custom: {
50: '#ce6c7c',
500: '#af204a',
950: '#000000',
},
}SCSS
$custom: #af204a; $custom-light: #ce6c7c; $custom-dark: #000000;
JSON
{
"hex": "#af204a",
"rgb": {
"r": 175,
"g": 32,
"b": 74
},
"hsl": {
"h": 342.378,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.49674,
"c": 0.17753,
"h": 10.4
},
"luminance": 0.10641
}Semantic roles & 50–950 ramp
primary
#AF204A
secondary
#62C8AA
accent
#ECB83C
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B