#AF2B4D#AF2B4D
#AF2B4D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.168 H 10.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B4D |
|---|---|
| RGB | rgb(175, 43, 77) |
| HSL | hsl(345, 61%, 43%) |
| HSV | hsv(345, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 56%, 31.4%) |
| CIE-LAB | lab(40.21, 54.52, 12.57) |
| CIE-LCH | lch(40.21, 55.95, 12.98°) |
| OKLab | oklab(50.61% 0.1652 0.0316) |
| OKLCH | oklch(50.61% 0.168 10.8) |
| XYZ | xyz(19.8845, 11.3804, 8.1693) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.60
Purplish Red
#B0054B
ΔE00 3.62
Light Burgundy
#A8415B
ΔE00 4.38
Rouge
#AB1239
ΔE00 4.84
Ruby
#CA0147
ΔE00 5.20
Rose Red
#BE013C
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B4D #2BAF8D
analogous
#AF2B8F #AF2B4D #AF4B2B
triadic
#AF2B4D #4DAF2B #2B4DAF
tetradic
#AF2B4D #8FAF2B #2BAF8D #4B2BAF
square
#AF2B4D #8FAF2B #2BAF8D #4B2BAF
split-complementary
#AF2B4D #2BAF4B #2B8FAF
monochromatic
#4D1322 #7E1F37 #AF2B4D #D1466A #DE7791
Accessibility & contrast
On white
6.41
#AF2B4D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2B4D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B4D
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B4D | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#70684A
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2b4d; /* rgb */ color: rgb(175, 43, 77); /* oklch */ color: oklch(50.6% 0.168 10.8);
Tailwind
colors: {
custom: {
50: '#cd707e',
500: '#af2b4d',
950: '#000000',
},
}SCSS
$custom: #af2b4d; $custom-light: #cd707e; $custom-dark: #000000;
JSON
{
"hex": "#af2b4d",
"rgb": {
"r": 175,
"g": 43,
"b": 77
},
"hsl": {
"h": 344.545,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50611,
"c": 0.16815,
"h": 10.8
},
"luminance": 0.11378
}Semantic roles & 50–950 ramp
primary
#AF2B4D
secondary
#70C5AF
accent
#E4BB44
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B