#AF2D59#AF2D59
#AF2D59 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.168 H 5.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D59 |
|---|---|
| RGB | rgb(175, 45, 89) |
| HSL | hsl(340, 59%, 43%) |
| HSV | hsv(340, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 49.1%, 31.4%) |
| CIE-LAB | lab(40.76, 54.82, 5.75) |
| CIE-LCH | lch(40.76, 55.12, 5.99°) |
| OKLab | oklab(51.11% 0.1676 0.0152) |
| OKLCH | oklch(51.11% 0.168 5.2) |
| XYZ | xyz(20.4225, 11.7148, 10.6350) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.69
Purplish Red
#B0054B
ΔE00 3.94
Raspberry (survey)
#B00149
ΔE00 4.33
Deep Pink
#CB0162
ΔE00 5.02
Violet Red
#A50055
ΔE00 5.70
Light Maroon
#A24857
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D59 #2DAF83
analogous
#AF2D9A #AF2D59 #AF422D
triadic
#AF2D59 #59AF2D #2D59AF
tetradic
#AF2D59 #9AAF2D #2DAF83 #422DAF
square
#AF2D59 #9AAF2D #2DAF83 #422DAF
split-complementary
#AF2D59 #2DAF42 #2D9AAF
monochromatic
#4E1427 #7E2040 #AF2D59 #D04977 #DD7A9B
Accessibility & contrast
On white
6.28
#AF2D59 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF2D59 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D59
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D59 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C505A
Deuteranopia (green-blind)
#6E6956
Tritanopia (blue-blind)
#BF1140
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2d59; /* rgb */ color: rgb(175, 45, 89); /* oklch */ color: oklch(51.1% 0.168 5.2);
Tailwind
colors: {
custom: {
50: '#cd7187',
500: '#af2d59',
950: '#000000',
},
}SCSS
$custom: #af2d59; $custom-light: #cd7187; $custom-dark: #000000;
JSON
{
"hex": "#af2d59",
"rgb": {
"r": 175,
"g": 45,
"b": 89
},
"hsl": {
"h": 339.692,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.51112,
"c": 0.16824,
"h": 5.2
},
"luminance": 0.11712
}Semantic roles & 50–950 ramp
primary
#AF2D59
secondary
#73C5A9
accent
#E2AD46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C