#AF2E58#AF2E58
#AF2E58 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.167 H 5.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E58 |
|---|---|
| RGB | rgb(175, 46, 88) |
| HSL | hsl(340, 58%, 43%) |
| HSV | hsv(340, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 49.7%, 31.4%) |
| CIE-LAB | lab(40.86, 54.39, 6.52) |
| CIE-LCH | lch(40.86, 54.78, 6.84°) |
| OKLab | oklab(51.18% 0.1661 0.0171) |
| OKLCH | oklch(51.18% 0.167 5.9) |
| XYZ | xyz(20.4194, 11.7753, 10.4282) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.45
Purplish Red
#B0054B
ΔE00 3.91
Raspberry (survey)
#B00149
ΔE00 4.26
Deep Pink
#CB0162
ΔE00 5.16
Light Maroon
#A24857
ΔE00 5.98
Violet Red
#A50055
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E58 #2EAF85
analogous
#AF2E98 #AF2E58 #AF442E
triadic
#AF2E58 #58AF2E #2E58AF
tetradic
#AF2E58 #98AF2E #2EAF85 #442EAF
square
#AF2E58 #98AF2E #2EAF85 #442EAF
split-complementary
#AF2E58 #2EAF44 #2E98AF
monochromatic
#4E1527 #7F2140 #AF2E58 #D04B76 #DC7B9B
Accessibility & contrast
On white
6.26
#AF2E58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF2E58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E58
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E58 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5059
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#BF1240
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e58; /* rgb */ color: rgb(175, 46, 88); /* oklch */ color: oklch(51.2% 0.167 5.9);
Tailwind
colors: {
custom: {
50: '#cd7286',
500: '#af2e58',
950: '#000000',
},
}SCSS
$custom: #af2e58; $custom-light: #cd7286; $custom-dark: #000000;
JSON
{
"hex": "#af2e58",
"rgb": {
"r": 175,
"g": 46,
"b": 88
},
"hsl": {
"h": 340.465,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51175,
"c": 0.16694,
"h": 5.9
},
"luminance": 0.11773
}Semantic roles & 50–950 ramp
primary
#AF2E58
secondary
#74C5AA
accent
#E2AF46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C