#AF382A#AF382A
#AF382A is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.3% C 0.157 H 30.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AF382A |
|---|---|
| RGB | rgb(175, 56, 42) |
| HSL | hsl(6, 61%, 43%) |
| HSV | hsv(6, 76%, 69%) |
| CMYK | cmyk(0%, 68%, 76%, 31.4%) |
| CIE-LAB | lab(41.39, 47.58, 35.36) |
| CIE-LCH | lch(41.39, 59.28, 36.62°) |
| OKLab | oklab(51.3% 0.1362 0.0787) |
| OKLCH | oklch(51.3% 0.157 30) |
| XYZ | xyz(19.5135, 12.1124, 3.5005) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.38
Firebrick
#B22222
ΔE00 3.38
Brownish Red
#9E3623
ΔE00 3.74
Brown
#A52A2A
ΔE00 4.59
Scarlet
#BE0119
ΔE00 5.07
Rusty Red
#AF2F0D
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF382A #2AA1AF
analogous
#AF2A5E #AF382A #AF7B2A
triadic
#AF382A #2AAF38 #382AAF
tetradic
#AF382A #5EAF2A #2AA1AF #7B2AAF
square
#AF382A #5EAF2A #2AA1AF #7B2AAF
split-complementary
#AF382A #2AAF7B #2A5EAF
monochromatic
#4C1812 #7E281E #AF382A #D25344 #DE8075
Accessibility & contrast
On white
6.14
#AF382A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AF382A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF382A
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF382A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF382A | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5128
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#C11336
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af382a; /* rgb */ color: rgb(175, 56, 42); /* oklch */ color: oklch(51.3% 0.157 30.0);
Tailwind
colors: {
custom: {
50: '#cf7564',
500: '#af382a',
950: '#000000',
},
}SCSS
$custom: #af382a; $custom-light: #cf7564; $custom-dark: #000000;
JSON
{
"hex": "#af382a",
"rgb": {
"r": 175,
"g": 56,
"b": 42
},
"hsl": {
"h": 6.316,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.51298,
"c": 0.15729,
"h": 30
},
"luminance": 0.12109
}Semantic roles & 50–950 ramp
primary
#AF382A
secondary
#6FBCC6
accent
#D3E443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A