#AF2D55#AF2D55
#AF2D55 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.167 H 7.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D55 |
|---|---|
| RGB | rgb(175, 45, 85) |
| HSL | hsl(342, 59%, 43%) |
| HSV | hsv(342, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 51.4%, 31.4%) |
| CIE-LAB | lab(40.65, 54.48, 8.13) |
| CIE-LCH | lch(40.65, 55.08, 8.48°) |
| OKLab | oklab(51% 0.1661 0.021) |
| OKLCH | oklch(51% 0.167 7.2) |
| XYZ | xyz(20.2591, 11.6494, 9.7743) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.50
Purplish Red
#B0054B
ΔE00 3.54
Raspberry (survey)
#B00149
ΔE00 3.83
Deep Pink
#CB0162
ΔE00 5.48
Light Maroon
#A24857
ΔE00 5.76
Dark Rose
#B5485D
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D55 #2DAF87
analogous
#AF2D96 #AF2D55 #AF462D
triadic
#AF2D55 #55AF2D #2D55AF
tetradic
#AF2D55 #96AF2D #2DAF87 #462DAF
square
#AF2D55 #96AF2D #2DAF87 #462DAF
split-complementary
#AF2D55 #2DAF46 #2D96AF
monochromatic
#4E1426 #7E203D #AF2D55 #D04973 #DD7A98
Accessibility & contrast
On white
6.31
#AF2D55 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF2D55 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D55
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D55 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4F56
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#BF0E3E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2d55; /* rgb */ color: rgb(175, 45, 85); /* oklch */ color: oklch(51.0% 0.167 7.2);
Tailwind
colors: {
custom: {
50: '#cd7184',
500: '#af2d55',
950: '#000000',
},
}SCSS
$custom: #af2d55; $custom-light: #cd7184; $custom-dark: #000000;
JSON
{
"hex": "#af2d55",
"rgb": {
"r": 175,
"g": 45,
"b": 85
},
"hsl": {
"h": 341.538,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50999,
"c": 0.16738,
"h": 7.2
},
"luminance": 0.11647
}Semantic roles & 50–950 ramp
primary
#AF2D55
secondary
#73C5AC
accent
#E2B246
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C