#AF3852#AF3852
#AF3852 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.0% C 0.155 H 11.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3852 |
|---|---|
| RGB | rgb(175, 56, 82) |
| HSL | hsl(347, 52%, 45%) |
| HSV | hsv(347, 68%, 69%) |
| CMYK | cmyk(0%, 68%, 53.1%, 31.4%) |
| CIE-LAB | lab(42.08, 50.07, 12.01) |
| CIE-LCH | lch(42.08, 51.49, 13.49°) |
| OKLab | oklab(52.04% 0.1516 0.0305) |
| OKLCH | oklch(52.04% 0.155 11.4) |
| XYZ | xyz(20.6182, 12.5542, 9.3185) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.99
Light Maroon
#A24857
ΔE00 3.86
Dark Rose
#B5485D
ΔE00 3.87
Purplish Red
#B0054B
ΔE00 5.60
Raspberry (survey)
#B00149
ΔE00 5.66
Ruby
#CA0147
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3852 #38AF95
analogous
#AF388D #AF3852 #AF5A38
triadic
#AF3852 #52AF38 #3852AF
tetradic
#AF3852 #8DAF38 #38AF95 #5A38AF
square
#AF3852 #8DAF38 #38AF95 #5A38AF
split-complementary
#AF3852 #38AF5A #388DAF
monochromatic
#521A27 #81293C #AF3852 #CA5A73 #D9889A
Accessibility & contrast
On white
5.98
#AF3852 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#AF3852 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3852
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3852 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545452
Deuteranopia (green-blind)
#736C4F
Tritanopia (blue-blind)
#BF2242
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af3852; /* rgb */ color: rgb(175, 56, 82); /* oklch */ color: oklch(52.0% 0.155 11.4);
Tailwind
colors: {
custom: {
50: '#cc7682',
500: '#af3852',
950: '#000000',
},
}SCSS
$custom: #af3852; $custom-light: #cc7682; $custom-dark: #000000;
JSON
{
"hex": "#af3852",
"rgb": {
"r": 175,
"g": 56,
"b": 82
},
"hsl": {
"h": 346.891,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.52036,
"c": 0.15459,
"h": 11.4
},
"luminance": 0.12552
}Semantic roles & 50–950 ramp
primary
#AF3852
secondary
#80C3B4
accent
#DBBC4D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14090A
muted
#837B7C