#AF382E#AF382E
#AF382E is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.3% C 0.157 H 28.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AF382E |
|---|---|
| RGB | rgb(175, 56, 46) |
| HSL | hsl(5, 58%, 43%) |
| HSV | hsv(5, 74%, 69%) |
| CMYK | cmyk(0%, 68%, 73.7%, 31.4%) |
| CIE-LAB | lab(41.44, 47.75, 33.13) |
| CIE-LCH | lch(41.44, 58.12, 34.75°) |
| OKLab | oklab(51.35% 0.1375 0.0748) |
| OKLCH | oklch(51.35% 0.157 28.5) |
| XYZ | xyz(19.5887, 12.1424, 3.8965) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.22
Brown
#A52A2A
ΔE00 3.93
Brick
#A03623
ΔE00 4.01
Brownish Red
#9E3623
ΔE00 4.31
Dull Red
#BB3F3F
ΔE00 4.64
Scarlet
#BE0119
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF382E #2EA5AF
analogous
#AF2E64 #AF382E #AF782E
triadic
#AF382E #2EAF38 #382EAF
tetradic
#AF382E #64AF2E #2EA5AF #782EAF
square
#AF382E #64AF2E #2EA5AF #782EAF
split-complementary
#AF382E #2EAF78 #2E64AF
monochromatic
#4E1915 #7F2821 #AF382E #D0554B #DC837B
Accessibility & contrast
On white
6.13
#AF382E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AF382E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF382E
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF382E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF382E | 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)
#5A512C
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C11437
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af382e; /* rgb */ color: rgb(175, 56, 46); /* oklch */ color: oklch(51.3% 0.157 28.5);
Tailwind
colors: {
custom: {
50: '#cf7567',
500: '#af382e',
950: '#000000',
},
}SCSS
$custom: #af382e; $custom-light: #cf7567; $custom-dark: #000000;
JSON
{
"hex": "#af382e",
"rgb": {
"r": 175,
"g": 56,
"b": 46
},
"hsl": {
"h": 4.651,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51349,
"c": 0.15657,
"h": 28.5
},
"luminance": 0.1214
}Semantic roles & 50–950 ramp
primary
#AF382E
secondary
#74BEC5
accent
#D6E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A