#AF2D62#AF2D62
#AF2D62 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.171 H 0.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D62 |
|---|---|
| RGB | rgb(175, 45, 98) |
| HSL | hsl(336, 59%, 43%) |
| HSV | hsv(336, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 44%, 31.4%) |
| CIE-LAB | lab(41.02, 55.66, 0.46) |
| CIE-LCH | lch(41.02, 55.66, 0.48°) |
| OKLab | oklab(51.39% 0.1708 0.0018) |
| OKLCH | oklch(51.39% 0.171 0.6) |
| XYZ | xyz(20.8238, 11.8753, 12.7485) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.99
Light Burgundy
#A8415B
ΔE00 5.12
Violet Red
#A50055
ΔE00 5.14
Purplish Red
#B0054B
ΔE00 5.68
Magenta (survey)
#C20078
ΔE00 6.12
Raspberry (survey)
#B00149
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D62 #2DAF7A
analogous
#AF2DA3 #AF2D62 #AF392D
triadic
#AF2D62 #62AF2D #2D62AF
tetradic
#AF2D62 #A3AF2D #2DAF7A #392DAF
square
#AF2D62 #A3AF2D #2DAF7A #392DAF
split-complementary
#AF2D62 #2DAF39 #2DA3AF
monochromatic
#4E142B #7E2047 #AF2D62 #D04980 #DD7AA2
Accessibility & contrast
On white
6.22
#AF2D62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AF2D62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D62
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D62 | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#BE1744
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2d62; /* rgb */ color: rgb(175, 45, 98); /* oklch */ color: oklch(51.4% 0.171 0.6);
Tailwind
colors: {
custom: {
50: '#cc718e',
500: '#af2d62',
950: '#000000',
},
}SCSS
$custom: #af2d62; $custom-light: #cc718e; $custom-dark: #000000;
JSON
{
"hex": "#af2d62",
"rgb": {
"r": 175,
"g": 45,
"b": 98
},
"hsl": {
"h": 335.538,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.51387,
"c": 0.17076,
"h": 0.6
},
"luminance": 0.11873
}Semantic roles & 50–950 ramp
primary
#AF2D62
secondary
#73C5A3
accent
#E2A246
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D