#AF382B#AF382B
#AF382B is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.3% C 0.157 H 29.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AF382B |
|---|---|
| RGB | rgb(175, 56, 43) |
| HSL | hsl(6, 61%, 43%) |
| HSV | hsv(6, 75%, 69%) |
| CMYK | cmyk(0%, 68%, 75.4%, 31.4%) |
| CIE-LAB | lab(41.41, 47.62, 34.81) |
| CIE-LCH | lch(41.41, 58.98, 36.17°) |
| OKLab | oklab(51.31% 0.1365 0.0778) |
| OKLCH | oklch(51.31% 0.157 29.7) |
| XYZ | xyz(19.5316, 12.1196, 3.5959) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.30
Brick
#A03623
ΔE00 3.51
Brownish Red
#9E3623
ΔE00 3.85
Brown
#A52A2A
ΔE00 4.40
Scarlet
#BE0119
ΔE00 5.06
Dull Red
#BB3F3F
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF382B #2BA2AF
analogous
#AF2B60 #AF382B #AF7A2B
triadic
#AF382B #2BAF38 #382BAF
tetradic
#AF382B #60AF2B #2BA2AF #7A2BAF
square
#AF382B #60AF2B #2BA2AF #7A2BAF
split-complementary
#AF382B #2BAF7A #2B60AF
monochromatic
#4D1913 #7E281F #AF382B #D15346 #DE8177
Accessibility & contrast
On white
6.13
#AF382B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AF382B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF382B
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF382B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF382B | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5129
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#C11436
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af382b; /* rgb */ color: rgb(175, 56, 43); /* oklch */ color: oklch(51.3% 0.157 29.7);
Tailwind
colors: {
custom: {
50: '#cf7565',
500: '#af382b',
950: '#000000',
},
}SCSS
$custom: #af382b; $custom-light: #cf7565; $custom-dark: #000000;
JSON
{
"hex": "#af382b",
"rgb": {
"r": 175,
"g": 56,
"b": 43
},
"hsl": {
"h": 5.909,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.5131,
"c": 0.15711,
"h": 29.7
},
"luminance": 0.12117
}Semantic roles & 50–950 ramp
primary
#AF382B
secondary
#70BDC5
accent
#D4E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A