#AF2E62#AF2E62
#AF2E62 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.170 H 0.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E62 |
|---|---|
| RGB | rgb(175, 46, 98) |
| HSL | hsl(336, 58%, 43%) |
| HSV | hsv(336, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 44%, 31.4%) |
| CIE-LAB | lab(41.14, 55.31, 0.64) |
| CIE-LCH | lch(41.14, 55.32, 0.67°) |
| OKLab | oklab(51.48% 0.1697 0.0023) |
| OKLCH | oklch(51.48% 0.17 0.8) |
| XYZ | xyz(20.8624, 11.9525, 12.7614) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.97
Deep Pink
#CB0162
ΔE00 4.98
Violet Red
#A50055
ΔE00 5.28
Purplish Red
#B0054B
ΔE00 5.70
Raspberry (survey)
#B00149
ΔE00 6.17
Magenta (survey)
#C20078
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E62 #2EAF7B
analogous
#AF2EA2 #AF2E62 #AF3A2E
triadic
#AF2E62 #62AF2E #2E62AF
tetradic
#AF2E62 #A2AF2E #2EAF7B #3A2EAF
square
#AF2E62 #A2AF2E #2EAF7B #3A2EAF
split-complementary
#AF2E62 #2EAF3A #2EA2AF
monochromatic
#4E152C #7F2147 #AF2E62 #D04B80 #DC7BA2
Accessibility & contrast
On white
6.19
#AF2E62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AF2E62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E62
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E62 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#BE1944
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2e62; /* rgb */ color: rgb(175, 46, 98); /* oklch */ color: oklch(51.5% 0.170 0.8);
Tailwind
colors: {
custom: {
50: '#cc728e',
500: '#af2e62',
950: '#000000',
},
}SCSS
$custom: #af2e62; $custom-light: #cc728e; $custom-dark: #000000;
JSON
{
"hex": "#af2e62",
"rgb": {
"r": 175,
"g": 46,
"b": 98
},
"hsl": {
"h": 335.814,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51477,
"c": 0.16967,
"h": 0.8
},
"luminance": 0.1195
}Semantic roles & 50–950 ramp
primary
#AF2E62
secondary
#74C5A4
accent
#E2A346
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D