#AC312B#AC312B
#AC312B is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.160 H 27.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AC312B |
|---|---|
| RGB | rgb(172, 49, 43) |
| HSL | hsl(3, 60%, 42%) |
| HSV | hsv(3, 75%, 67%) |
| CMYK | cmyk(0%, 71.5%, 75%, 32.5%) |
| CIE-LAB | lab(39.82, 49.41, 32.90) |
| CIE-LCH | lch(39.82, 59.36, 33.66°) |
| OKLab | oklab(50.02% 0.1425 0.0738) |
| OKLCH | oklch(50.02% 0.16 27.4) |
| XYZ | xyz(18.5497, 11.1445, 3.4594) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.19
Brown
#A52A2A
ΔE00 2.37
Brick
#A03623
ΔE00 3.87
Brownish Red
#9E3623
ΔE00 4.09
Scarlet
#BE0119
ΔE00 4.56
Dull Red
#BB3F3F
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC312B #2BA6AC
analogous
#AC2B65 #AC312B #AC722B
triadic
#AC312B #2BAC31 #312BAC
tetradic
#AC312B #65AC2B #2BA6AC #722BAC
square
#AC312B #65AC2B #2BA6AC #722BAC
split-complementary
#AC312B #2BAC72 #2B65AC
monochromatic
#4A1513 #7B231F #AC312B #D04A44 #DC7A75
Accessibility & contrast
On white
6.50
#AC312B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AC312B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC312B
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC312B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC312B | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D29
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#BD0031
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ac312b; /* rgb */ color: rgb(172, 49, 43); /* oklch */ color: oklch(50.0% 0.160 27.4);
Tailwind
colors: {
custom: {
50: '#cd7265',
500: '#ac312b',
950: '#000000',
},
}SCSS
$custom: #ac312b; $custom-light: #cd7265; $custom-dark: #000000;
JSON
{
"hex": "#ac312b",
"rgb": {
"r": 172,
"g": 49,
"b": 43
},
"hsl": {
"h": 2.791,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.50023,
"c": 0.16048,
"h": 27.4
},
"luminance": 0.11142
}Semantic roles & 50–950 ramp
primary
#AC312B
secondary
#6FC0C4
accent
#DCE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A