#AF2A55#AF2A55
#AF2A55 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 6.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A55 |
|---|---|
| RGB | rgb(175, 42, 85) |
| HSL | hsl(341, 61%, 43%) |
| HSV | hsv(341, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 51.4%, 31.4%) |
| CIE-LAB | lab(40.29, 55.49, 7.62) |
| CIE-LCH | lch(40.29, 56.01, 7.82°) |
| OKLab | oklab(50.73% 0.1693 0.0198) |
| OKLCH | oklch(50.73% 0.17 6.7) |
| XYZ | xyz(20.1486, 11.4286, 9.7375) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.19
Raspberry (survey)
#B00149
ΔE00 3.52
Light Burgundy
#A8415B
ΔE00 3.91
Deep Pink
#CB0162
ΔE00 5.32
Violet Red
#A50055
ΔE00 5.83
Light Maroon
#A24857
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A55 #2AAF84
analogous
#AF2A97 #AF2A55 #AF422A
triadic
#AF2A55 #55AF2A #2A55AF
tetradic
#AF2A55 #97AF2A #2AAF84 #422AAF
square
#AF2A55 #97AF2A #2AAF84 #422AAF
split-complementary
#AF2A55 #2AAF42 #2A97AF
monochromatic
#4C1225 #7E1E3D #AF2A55 #D24472 #DE7597
Accessibility & contrast
On white
6.39
#AF2A55 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2A55 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A55
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A55 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4E56
Deuteranopia (green-blind)
#6E6952
Tritanopia (blue-blind)
#BF043C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2a55; /* rgb */ color: rgb(175, 42, 85); /* oklch */ color: oklch(50.7% 0.170 6.7);
Tailwind
colors: {
custom: {
50: '#cd7084',
500: '#af2a55',
950: '#000000',
},
}SCSS
$custom: #af2a55; $custom-light: #cd7084; $custom-dark: #000000;
JSON
{
"hex": "#af2a55",
"rgb": {
"r": 175,
"g": 42,
"b": 85
},
"hsl": {
"h": 340.602,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50734,
"c": 0.17045,
"h": 6.7
},
"luminance": 0.11426
}Semantic roles & 50–950 ramp
primary
#AF2A55
secondary
#6FC6AA
accent
#E4B043
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C