#AF2251#AF2251
#AF2251 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.177 H 7.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2251 |
|---|---|
| RGB | rgb(175, 34, 81) |
| HSL | hsl(340, 67%, 41%) |
| HSV | hsv(340, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 53.7%, 31.4%) |
| CIE-LAB | lab(39.34, 57.58, 8.81) |
| CIE-LCH | lch(39.34, 58.25, 8.70°) |
| OKLab | oklab(49.99% 0.1756 0.0226) |
| OKLCH | oklch(49.99% 0.177 7.3) |
| XYZ | xyz(19.7383, 10.8549, 8.8388) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.08
Raspberry (survey)
#B00149
ΔE00 2.39
Light Burgundy
#A8415B
ΔE00 4.87
Violet Red
#A50055
ΔE00 5.46
Deep Pink
#CB0162
ΔE00 5.63
Berry
#990F4B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2251 #22AF80
analogous
#AF2297 #AF2251 #AF3922
triadic
#AF2251 #51AF22 #2251AF
tetradic
#AF2251 #97AF22 #22AF80 #3922AF
square
#AF2251 #97AF22 #22AF80 #3922AF
split-complementary
#AF2251 #22AF39 #2297AF
monochromatic
#490E22 #7C1839 #AF2251 #D8366C #E26992
Accessibility & contrast
On white
6.62
#AF2251 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF2251 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2251
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2251 | 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)
#484B52
Deuteranopia (green-blind)
#6D674E
Tritanopia (blue-blind)
#BF0037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2251; /* rgb */ color: rgb(175, 34, 81); /* oklch */ color: oklch(50.0% 0.177 7.3);
Tailwind
colors: {
custom: {
50: '#cd6d81',
500: '#af2251',
950: '#000000',
},
}SCSS
$custom: #af2251; $custom-light: #cd6d81; $custom-dark: #000000;
JSON
{
"hex": "#af2251",
"rgb": {
"r": 175,
"g": 34,
"b": 81
},
"hsl": {
"h": 340,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49994,
"c": 0.17702,
"h": 7.3
},
"luminance": 0.10852
}Semantic roles & 50–950 ramp
primary
#AF2251
secondary
#65C8A7
accent
#EAB13D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C