#AF2B58#AF2B58
#AF2B58 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.170 H 5.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B58 |
|---|---|
| RGB | rgb(175, 43, 88) |
| HSL | hsl(340, 61%, 43%) |
| HSV | hsv(340, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 49.7%, 31.4%) |
| CIE-LAB | lab(40.49, 55.41, 6.00) |
| CIE-LCH | lch(40.49, 55.74, 6.18°) |
| OKLab | oklab(50.91% 0.1694 0.0158) |
| OKLCH | oklch(50.91% 0.17 5.3) |
| XYZ | xyz(20.3063, 11.5491, 10.3905) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.64
Light Burgundy
#A8415B
ΔE00 3.91
Raspberry (survey)
#B00149
ΔE00 4.03
Deep Pink
#CB0162
ΔE00 5.03
Violet Red
#A50055
ΔE00 5.51
Berry
#990F4B
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B58 #2BAF82
analogous
#AF2B9A #AF2B58 #AF402B
triadic
#AF2B58 #58AF2B #2B58AF
tetradic
#AF2B58 #9AAF2B #2BAF82 #402BAF
square
#AF2B58 #9AAF2B #2BAF82 #402BAF
split-complementary
#AF2B58 #2BAF40 #2B9AAF
monochromatic
#4D1327 #7E1F3F #AF2B58 #D14675 #DE779A
Accessibility & contrast
On white
6.35
#AF2B58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF2B58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B58
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B58 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#BF0B3E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2b58; /* rgb */ color: rgb(175, 43, 88); /* oklch */ color: oklch(50.9% 0.170 5.3);
Tailwind
colors: {
custom: {
50: '#cd7086',
500: '#af2b58',
950: '#000000',
},
}SCSS
$custom: #af2b58; $custom-light: #cd7086; $custom-dark: #000000;
JSON
{
"hex": "#af2b58",
"rgb": {
"r": 175,
"g": 43,
"b": 88
},
"hsl": {
"h": 339.545,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50905,
"c": 0.17009,
"h": 5.3
},
"luminance": 0.11546
}Semantic roles & 50–950 ramp
primary
#AF2B58
secondary
#70C5A8
accent
#E4AD44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C