#AF3952#AF3952
#AF3952 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.153 H 11.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3952 |
|---|---|
| RGB | rgb(175, 57, 82) |
| HSL | hsl(347, 51%, 45%) |
| HSV | hsv(347, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 53.1%, 31.4%) |
| CIE-LAB | lab(42.23, 49.66, 12.22) |
| CIE-LCH | lch(42.23, 51.14, 13.82°) |
| OKLab | oklab(52.15% 0.1503 0.031) |
| OKLCH | oklch(52.15% 0.153 11.6) |
| XYZ | xyz(20.6671, 12.6521, 9.3348) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.02
Dark Rose
#B5485D
ΔE00 3.71
Light Maroon
#A24857
ΔE00 3.73
Ruby
#CA0147
ΔE00 5.79
Purplish Red
#B0054B
ΔE00 5.83
Raspberry (survey)
#B00149
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3952 #39AF96
analogous
#AF398D #AF3952 #AF5B39
triadic
#AF3952 #52AF39 #3952AF
tetradic
#AF3952 #8DAF39 #39AF96 #5B39AF
square
#AF3952 #8DAF39 #39AF96 #5B39AF
split-complementary
#AF3952 #39AF5B #398DAF
monochromatic
#531B27 #812A3C #AF3952 #CA5B73 #D98A9A
Accessibility & contrast
On white
5.95
#AF3952 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#AF3952 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3952
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3952 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555452
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#BF2343
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #af3952; /* rgb */ color: rgb(175, 57, 82); /* oklch */ color: oklch(52.1% 0.153 11.6);
Tailwind
colors: {
custom: {
50: '#cc7782',
500: '#af3952',
950: '#000000',
},
}SCSS
$custom: #af3952; $custom-light: #cc7782; $custom-dark: #000000;
JSON
{
"hex": "#af3952",
"rgb": {
"r": 175,
"g": 57,
"b": 82
},
"hsl": {
"h": 347.288,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.52148,
"c": 0.15341,
"h": 11.6
},
"luminance": 0.12649
}Semantic roles & 50–950 ramp
primary
#AF3952
secondary
#81C3B5
accent
#DABC4D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14090A
muted
#837B7C