#AF2950#AF2950
#AF2950 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.171 H 9.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2950 |
|---|---|
| RGB | rgb(175, 41, 80) |
| HSL | hsl(343, 62%, 42%) |
| HSV | hsv(343, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 54.3%, 31.4%) |
| CIE-LAB | lab(40.05, 55.41, 10.44) |
| CIE-LCH | lch(40.05, 56.38, 10.67°) |
| OKLab | oklab(50.51% 0.1684 0.0266) |
| OKLCH | oklch(50.51% 0.171 9) |
| XYZ | xyz(19.9220, 11.2818, 8.7164) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.96
Raspberry (survey)
#B00149
ΔE00 3.10
Light Burgundy
#A8415B
ΔE00 4.18
Rouge
#AB1239
ΔE00 5.64
Ruby
#CA0147
ΔE00 5.79
Light Maroon
#A24857
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2950 #29AF88
analogous
#AF2993 #AF2950 #AF4529
triadic
#AF2950 #50AF29 #2950AF
tetradic
#AF2950 #93AF29 #29AF88 #4529AF
square
#AF2950 #93AF29 #29AF88 #4529AF
split-complementary
#AF2950 #29AF45 #2993AF
monochromatic
#4C1223 #7D1D39 #AF2950 #D3426C #DE7493
Accessibility & contrast
On white
6.45
#AF2950 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2950 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2950
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2950 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2950 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4D51
Deuteranopia (green-blind)
#6F684D
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2950; /* rgb */ color: rgb(175, 41, 80); /* oklch */ color: oklch(50.5% 0.171 9.0);
Tailwind
colors: {
custom: {
50: '#cd6f80',
500: '#af2950',
950: '#000000',
},
}SCSS
$custom: #af2950; $custom-light: #cd6f80; $custom-dark: #000000;
JSON
{
"hex": "#af2950",
"rgb": {
"r": 175,
"g": 41,
"b": 80
},
"hsl": {
"h": 342.537,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50514,
"c": 0.17052,
"h": 9
},
"luminance": 0.11279
}Semantic roles & 50–950 ramp
primary
#AF2950
secondary
#6EC6AC
accent
#E5B643
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C