#AF2D5F#AF2D5F
#AF2D5F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.170 H 2.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D5F |
|---|---|
| RGB | rgb(175, 45, 95) |
| HSL | hsl(337, 59%, 43%) |
| HSV | hsv(337, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 45.7%, 31.4%) |
| CIE-LAB | lab(40.93, 55.37, 2.22) |
| CIE-LCH | lch(40.93, 55.42, 2.29°) |
| OKLab | oklab(51.29% 0.1697 0.0063) |
| OKLCH | oklch(51.29% 0.17 2.1) |
| XYZ | xyz(20.6848, 11.8197, 12.0164) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.54
Deep Pink
#CB0162
ΔE00 4.85
Purplish Red
#B0054B
ΔE00 5.02
Violet Red
#A50055
ΔE00 5.18
Raspberry (survey)
#B00149
ΔE00 5.48
Berry
#990F4B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D5F #2DAF7D
analogous
#AF2DA0 #AF2D5F #AF3C2D
triadic
#AF2D5F #5FAF2D #2D5FAF
tetradic
#AF2D5F #A0AF2D #2DAF7D #3C2DAF
square
#AF2D5F #A0AF2D #2DAF7D #3C2DAF
split-complementary
#AF2D5F #2DAF3C #2DA0AF
monochromatic
#4E142A #7E2045 #AF2D5F #D0497D #DD7AA0
Accessibility & contrast
On white
6.24
#AF2D5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF2D5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D5F
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D5F | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5060
Deuteranopia (green-blind)
#6D6A5C
Tritanopia (blue-blind)
#BE1542
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2d5f; /* rgb */ color: rgb(175, 45, 95); /* oklch */ color: oklch(51.3% 0.170 2.1);
Tailwind
colors: {
custom: {
50: '#cc718c',
500: '#af2d5f',
950: '#000000',
},
}SCSS
$custom: #af2d5f; $custom-light: #cc718c; $custom-dark: #000000;
JSON
{
"hex": "#af2d5f",
"rgb": {
"r": 175,
"g": 45,
"b": 95
},
"hsl": {
"h": 336.923,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.51292,
"c": 0.16983,
"h": 2.1
},
"luminance": 0.11817
}Semantic roles & 50–950 ramp
primary
#AF2D5F
secondary
#73C5A5
accent
#E2A646
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D