#AF382C#AF382C
#AF382C is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.3% C 0.157 H 29.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AF382C |
|---|---|
| RGB | rgb(175, 56, 44) |
| HSL | hsl(5, 60%, 43%) |
| HSV | hsv(5, 75%, 69%) |
| CMYK | cmyk(0%, 68%, 74.9%, 31.4%) |
| CIE-LAB | lab(41.42, 47.66, 34.25) |
| CIE-LCH | lch(41.42, 58.69, 35.70°) |
| OKLab | oklab(51.32% 0.1369 0.0768) |
| OKLCH | oklch(51.32% 0.157 29.3) |
| XYZ | xyz(19.5502, 12.1270, 3.6937) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.25
Brick
#A03623
ΔE00 3.66
Brownish Red
#9E3623
ΔE00 3.99
Brown
#A52A2A
ΔE00 4.23
Scarlet
#BE0119
ΔE00 5.07
Dull Red
#BB3F3F
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF382C #2CA3AF
analogous
#AF2C62 #AF382C #AF792C
triadic
#AF382C #2CAF38 #382CAF
tetradic
#AF382C #62AF2C #2CA3AF #792CAF
square
#AF382C #62AF2C #2CA3AF #792CAF
split-complementary
#AF382C #2CAF79 #2C62AF
monochromatic
#4D1913 #7E2820 #AF382C #D15447 #DD8278
Accessibility & contrast
On white
6.13
#AF382C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AF382C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF382C
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF382C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF382C | 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)
#5A512A
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#C11436
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af382c; /* rgb */ color: rgb(175, 56, 44); /* oklch */ color: oklch(51.3% 0.157 29.3);
Tailwind
colors: {
custom: {
50: '#cf7566',
500: '#af382c',
950: '#000000',
},
}SCSS
$custom: #af382c; $custom-light: #cf7566; $custom-dark: #000000;
JSON
{
"hex": "#af382c",
"rgb": {
"r": 175,
"g": 56,
"b": 44
},
"hsl": {
"h": 5.496,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.51323,
"c": 0.15693,
"h": 29.3
},
"luminance": 0.12124
}Semantic roles & 50–950 ramp
primary
#AF382C
secondary
#72BDC5
accent
#D4E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A