#AF2555#AF2555
#AF2555 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.175 H 5.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2555 |
|---|---|
| RGB | rgb(175, 37, 85) |
| HSL | hsl(339, 65%, 42%) |
| HSV | hsv(339, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 51.4%, 31.4%) |
| CIE-LAB | lab(39.74, 57.04, 6.84) |
| CIE-LCH | lch(39.74, 57.45, 6.83°) |
| OKLab | oklab(50.33% 0.1743 0.0179) |
| OKLCH | oklch(50.33% 0.175 5.8) |
| XYZ | xyz(19.9823, 11.0958, 9.6821) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.77
Raspberry (survey)
#B00149
ΔE00 3.17
Light Burgundy
#A8415B
ΔE00 4.58
Violet Red
#A50055
ΔE00 5.08
Deep Pink
#CB0162
ΔE00 5.18
Berry
#990F4B
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2555 #25AF7F
analogous
#AF259A #AF2555 #AF3A25
triadic
#AF2555 #55AF25 #2555AF
tetradic
#AF2555 #9AAF25 #25AF7F #3A25AF
square
#AF2555 #9AAF25 #25AF7F #3A25AF
split-complementary
#AF2555 #25AF3A #259AAF
monochromatic
#4A1024 #7C1A3C #AF2555 #D63C71 #E06E96
Accessibility & contrast
On white
6.52
#AF2555 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF2555 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2555
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2555 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2555 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494C56
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2555; /* rgb */ color: rgb(175, 37, 85); /* oklch */ color: oklch(50.3% 0.175 5.8);
Tailwind
colors: {
custom: {
50: '#cd6e84',
500: '#af2555',
950: '#000000',
},
}SCSS
$custom: #af2555; $custom-light: #cd6e84; $custom-dark: #000000;
JSON
{
"hex": "#af2555",
"rgb": {
"r": 175,
"g": 37,
"b": 85
},
"hsl": {
"h": 339.13,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50327,
"c": 0.17522,
"h": 5.8
},
"luminance": 0.11093
}Semantic roles & 50–950 ramp
primary
#AF2555
secondary
#69C7A6
accent
#E8AE40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C