#AF382D#AF382D
#AF382D is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.3% C 0.157 H 28.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AF382D |
|---|---|
| RGB | rgb(175, 56, 45) |
| HSL | hsl(5, 59%, 43%) |
| HSV | hsv(5, 74%, 69%) |
| CMYK | cmyk(0%, 68%, 74.3%, 31.4%) |
| CIE-LAB | lab(41.43, 47.70, 33.69) |
| CIE-LCH | lch(41.43, 58.40, 35.23°) |
| OKLab | oklab(51.34% 0.1372 0.0758) |
| OKLCH | oklch(51.34% 0.157 28.9) |
| XYZ | xyz(19.5692, 12.1346, 3.7939) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.22
Brick
#A03623
ΔE00 3.82
Brown
#A52A2A
ΔE00 4.07
Brownish Red
#9E3623
ΔE00 4.14
Dull Red
#BB3F3F
ΔE00 4.88
Scarlet
#BE0119
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF382D #2DA4AF
analogous
#AF2D63 #AF382D #AF792D
triadic
#AF382D #2DAF38 #382DAF
tetradic
#AF382D #63AF2D #2DA4AF #792DAF
square
#AF382D #63AF2D #2DA4AF #792DAF
split-complementary
#AF382D #2DAF79 #2D63AF
monochromatic
#4E1914 #7E2820 #AF382D #D05449 #DD827A
Accessibility & contrast
On white
6.13
#AF382D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AF382D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF382D
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF382D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF382D | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A512B
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#C11436
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af382d; /* rgb */ color: rgb(175, 56, 45); /* oklch */ color: oklch(51.3% 0.157 28.9);
Tailwind
colors: {
custom: {
50: '#cf7566',
500: '#af382d',
950: '#000000',
},
}SCSS
$custom: #af382d; $custom-light: #cf7566; $custom-dark: #000000;
JSON
{
"hex": "#af382d",
"rgb": {
"r": 175,
"g": 56,
"b": 45
},
"hsl": {
"h": 5.077,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.51336,
"c": 0.15676,
"h": 28.9
},
"luminance": 0.12132
}Semantic roles & 50–950 ramp
primary
#AF382D
secondary
#73BEC5
accent
#D5E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A