#AF2252#AF2252
#AF2252 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.177 H 6.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2252 |
|---|---|
| RGB | rgb(175, 34, 82) |
| HSL | hsl(340, 67%, 41%) |
| HSV | hsv(340, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 53.1%, 31.4%) |
| CIE-LAB | lab(39.36, 57.66, 8.21) |
| CIE-LCH | lch(39.36, 58.24, 8.10°) |
| OKLab | oklab(50.02% 0.176 0.0212) |
| OKLCH | oklch(50.02% 0.177 6.9) |
| XYZ | xyz(19.7761, 10.8700, 9.0378) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.16
Raspberry (survey)
#B00149
ΔE00 2.52
Light Burgundy
#A8415B
ΔE00 4.86
Violet Red
#A50055
ΔE00 5.25
Deep Pink
#CB0162
ΔE00 5.49
Berry
#990F4B
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2252 #22AF7F
analogous
#AF2298 #AF2252 #AF3822
triadic
#AF2252 #52AF22 #2252AF
tetradic
#AF2252 #98AF22 #22AF7F #3822AF
square
#AF2252 #98AF22 #22AF7F #3822AF
split-complementary
#AF2252 #22AF38 #2298AF
monochromatic
#490E22 #7C183A #AF2252 #D8366D #E26992
Accessibility & contrast
On white
6.62
#AF2252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF2252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2252
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2252 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484B53
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#BF0037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2252; /* rgb */ color: rgb(175, 34, 82); /* oklch */ color: oklch(50.0% 0.177 6.9);
Tailwind
colors: {
custom: {
50: '#cd6d82',
500: '#af2252',
950: '#000000',
},
}SCSS
$custom: #af2252; $custom-light: #cd6d82; $custom-dark: #000000;
JSON
{
"hex": "#af2252",
"rgb": {
"r": 175,
"g": 34,
"b": 82
},
"hsl": {
"h": 339.574,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50021,
"c": 0.17722,
"h": 6.9
},
"luminance": 0.10867
}Semantic roles & 50–950 ramp
primary
#AF2252
secondary
#65C8A6
accent
#EAAF3D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C