#AA231F#AA231F
#AA231F is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.2% C 0.172 H 27.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AA231F |
|---|---|
| RGB | rgb(170, 35, 31) |
| HSL | hsl(2, 69%, 39%) |
| HSV | hsv(2, 82%, 67%) |
| CMYK | cmyk(0%, 79.4%, 81.8%, 33.3%) |
| CIE-LAB | lab(37.57, 53.15, 37.24) |
| CIE-LCH | lch(37.57, 64.90, 35.02°) |
| OKLab | oklab(48.23% 0.152 0.0799) |
| OKLCH | oklch(48.23% 0.172 27.7) |
| XYZ | xyz(17.4281, 9.8499, 2.2796) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.63
Brown
#A52A2A
ΔE00 2.77
Scarlet
#BE0119
ΔE00 3.62
Brick
#A03623
ΔE00 3.76
Darkish Red
#A90308
ΔE00 3.80
Brownish Red
#9E3623
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA231F #1FA6AA
analogous
#AA1F60 #AA231F #AA691F
triadic
#AA231F #1FAA23 #231FAA
tetradic
#AA231F #60AA1F #1FA6AA #691FAA
square
#AA231F #60AA1F #1FA6AA #691FAA
split-complementary
#AA231F #1FAA69 #1F60AA
monochromatic
#420E0C #761816 #AA231F #D9322D #E26561
Accessibility & contrast
On white
7.07
#AA231F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#AA231F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #AA231F
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA231F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA231F | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E461D
Deuteranopia (green-blind)
#6F6318
Tritanopia (blue-blind)
#BC0024
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #aa231f; /* rgb */ color: rgb(170, 35, 31); /* oklch */ color: oklch(48.2% 0.172 27.7);
Tailwind
colors: {
custom: {
50: '#cd6b5c',
500: '#aa231f',
950: '#000000',
},
}SCSS
$custom: #aa231f; $custom-light: #cd6b5c; $custom-dark: #000000;
JSON
{
"hex": "#aa231f",
"rgb": {
"r": 170,
"g": 35,
"b": 31
},
"hsl": {
"h": 1.727,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.48233,
"c": 0.17167,
"h": 27.7
},
"luminance": 0.09847
}Semantic roles & 50–950 ramp
primary
#AA231F
secondary
#5EC4C7
accent
#E7EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79