#AF2F62#AF2F62
#AF2F62 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.169 H 0.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F62 |
|---|---|
| RGB | rgb(175, 47, 98) |
| HSL | hsl(336, 58%, 44%) |
| HSV | hsv(336, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 44%, 31.4%) |
| CIE-LAB | lab(41.27, 54.96, 0.83) |
| CIE-LCH | lch(41.27, 54.97, 0.86°) |
| OKLab | oklab(51.57% 0.1685 0.0028) |
| OKLCH | oklch(51.57% 0.169 0.9) |
| XYZ | xyz(20.9019, 12.0315, 12.7745) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.81
Deep Pink
#CB0162
ΔE00 4.98
Violet Red
#A50055
ΔE00 5.42
Purplish Red
#B0054B
ΔE00 5.73
Raspberry (survey)
#B00149
ΔE00 6.19
Magenta (survey)
#C20078
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F62 #2FAF7C
analogous
#AF2FA2 #AF2F62 #AF3C2F
triadic
#AF2F62 #62AF2F #2F62AF
tetradic
#AF2F62 #A2AF2F #2FAF7C #3C2FAF
square
#AF2F62 #A2AF2F #2FAF7C #3C2FAF
split-complementary
#AF2F62 #2FAF3C #2FA2AF
monochromatic
#4F152C #7F2247 #AF2F62 #CF4C80 #DC7CA3
Accessibility & contrast
On white
6.17
#AF2F62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AF2F62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F62
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F62 | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5263
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#BE1B45
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2f62; /* rgb */ color: rgb(175, 47, 98); /* oklch */ color: oklch(51.6% 0.169 0.9);
Tailwind
colors: {
custom: {
50: '#cc728e',
500: '#af2f62',
950: '#000000',
},
}SCSS
$custom: #af2f62; $custom-light: #cc728e; $custom-dark: #000000;
JSON
{
"hex": "#af2f62",
"rgb": {
"r": 175,
"g": 47,
"b": 98
},
"hsl": {
"h": 336.094,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.5157,
"c": 0.16855,
"h": 0.9
},
"luminance": 0.12029
}Semantic roles & 50–950 ramp
primary
#AF2F62
secondary
#75C4A5
accent
#E1A447
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D