#AF2D4F#AF2D4F
#AF2D4F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.166 H 10.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D4F |
|---|---|
| RGB | rgb(175, 45, 79) |
| HSL | hsl(344, 59%, 43%) |
| HSV | hsv(344, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 54.9%, 31.4%) |
| CIE-LAB | lab(40.50, 53.99, 11.71) |
| CIE-LCH | lch(40.50, 55.25, 12.23°) |
| OKLab | oklab(50.84% 0.1637 0.0296) |
| OKLCH | oklch(50.84% 0.166 10.3) |
| XYZ | xyz(20.0307, 11.5580, 8.5718) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.72
Raspberry (survey)
#B00149
ΔE00 3.77
Light Burgundy
#A8415B
ΔE00 3.95
Rouge
#AB1239
ΔE00 5.33
Light Maroon
#A24857
ΔE00 5.36
Ruby
#CA0147
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D4F #2DAF8D
analogous
#AF2D90 #AF2D4F #AF4C2D
triadic
#AF2D4F #4FAF2D #2D4FAF
tetradic
#AF2D4F #90AF2D #2DAF8D #4C2DAF
square
#AF2D4F #90AF2D #2DAF8D #4C2DAF
split-complementary
#AF2D4F #2DAF4C #2D90AF
monochromatic
#4E1423 #7E2039 #AF2D4F #D0496C #DD7A94
Accessibility & contrast
On white
6.34
#AF2D4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF2D4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D4F
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D4F | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4F50
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#BF083B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2d4f; /* rgb */ color: rgb(175, 45, 79); /* oklch */ color: oklch(50.8% 0.166 10.3);
Tailwind
colors: {
custom: {
50: '#cd7180',
500: '#af2d4f',
950: '#000000',
},
}SCSS
$custom: #af2d4f; $custom-light: #cd7180; $custom-dark: #000000;
JSON
{
"hex": "#af2d4f",
"rgb": {
"r": 175,
"g": 45,
"b": 79
},
"hsl": {
"h": 344.308,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50841,
"c": 0.1664,
"h": 10.3
},
"luminance": 0.11555
}Semantic roles & 50–950 ramp
primary
#AF2D4F
secondary
#73C5AF
accent
#E2B946
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C