#AF2D4E#AF2D4E
#AF2D4E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.166 H 10.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D4E |
|---|---|
| RGB | rgb(175, 45, 78) |
| HSL | hsl(345, 59%, 43%) |
| HSV | hsv(345, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 55.4%, 31.4%) |
| CIE-LAB | lab(40.48, 53.91, 12.30) |
| CIE-LCH | lch(40.48, 55.30, 12.86°) |
| OKLab | oklab(50.82% 0.1633 0.031) |
| OKLCH | oklch(50.82% 0.166 10.8) |
| XYZ | xyz(19.9946, 11.5436, 8.3815) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.84
Raspberry (survey)
#B00149
ΔE00 3.85
Light Burgundy
#A8415B
ΔE00 4.10
Rouge
#AB1239
ΔE00 5.09
Ruby
#CA0147
ΔE00 5.28
Light Maroon
#A24857
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D4E #2DAF8E
analogous
#AF2D8F #AF2D4E #AF4D2D
triadic
#AF2D4E #4EAF2D #2D4EAF
tetradic
#AF2D4E #8FAF2D #2DAF8E #4D2DAF
square
#AF2D4E #8FAF2D #2DAF8E #4D2DAF
split-complementary
#AF2D4E #2DAF4D #2D8FAF
monochromatic
#4E1423 #7E2038 #AF2D4E #D0496B #DD7A93
Accessibility & contrast
On white
6.35
#AF2D4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF2D4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D4E
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D4E | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#BF073B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2d4e; /* rgb */ color: rgb(175, 45, 78); /* oklch */ color: oklch(50.8% 0.166 10.8);
Tailwind
colors: {
custom: {
50: '#cd717f',
500: '#af2d4e',
950: '#000000',
},
}SCSS
$custom: #af2d4e; $custom-light: #cd717f; $custom-dark: #000000;
JSON
{
"hex": "#af2d4e",
"rgb": {
"r": 175,
"g": 45,
"b": 78
},
"hsl": {
"h": 344.769,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50816,
"c": 0.16626,
"h": 10.8
},
"luminance": 0.11541
}Semantic roles & 50–950 ramp
primary
#AF2D4E
secondary
#73C5B0
accent
#E2BA46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C