#AF2D56#AF2D56
#AF2D56 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.168 H 6.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D56 |
|---|---|
| RGB | rgb(175, 45, 86) |
| HSL | hsl(341, 59%, 43%) |
| HSV | hsv(341, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 50.9%, 31.4%) |
| CIE-LAB | lab(40.68, 54.56, 7.53) |
| CIE-LCH | lch(40.68, 55.08, 7.86°) |
| OKLab | oklab(51.03% 0.1664 0.0196) |
| OKLCH | oklch(51.03% 0.168 6.7) |
| XYZ | xyz(20.2991, 11.6654, 9.9850) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 3.61
Raspberry (survey)
#B00149
ΔE00 3.92
Deep Pink
#CB0162
ΔE00 5.34
Light Maroon
#A24857
ΔE00 5.87
Dark Rose
#B5485D
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D56 #2DAF86
analogous
#AF2D97 #AF2D56 #AF452D
triadic
#AF2D56 #56AF2D #2D56AF
tetradic
#AF2D56 #97AF2D #2DAF86 #452DAF
square
#AF2D56 #97AF2D #2DAF86 #452DAF
split-complementary
#AF2D56 #2DAF45 #2D97AF
monochromatic
#4E1426 #7E203E #AF2D56 #D04974 #DD7A99
Accessibility & contrast
On white
6.30
#AF2D56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF2D56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D56
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D56 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4F57
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#BF0E3E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2d56; /* rgb */ color: rgb(175, 45, 86); /* oklch */ color: oklch(51.0% 0.168 6.7);
Tailwind
colors: {
custom: {
50: '#cd7185',
500: '#af2d56',
950: '#000000',
},
}SCSS
$custom: #af2d56; $custom-light: #cd7185; $custom-dark: #000000;
JSON
{
"hex": "#af2d56",
"rgb": {
"r": 175,
"g": 45,
"b": 86
},
"hsl": {
"h": 341.077,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.51027,
"c": 0.16758,
"h": 6.7
},
"luminance": 0.11663
}Semantic roles & 50–950 ramp
primary
#AF2D56
secondary
#73C5AB
accent
#E2B146
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C