#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
RGBrgb(170, 35, 31)
HSLhsl(2, 69%, 39%)
HSVhsv(2, 82%, 67%)
CMYKcmyk(0%, 79.4%, 81.8%, 33.3%)
CIE-LABlab(37.57, 53.15, 37.24)
CIE-LCHlch(37.57, 64.90, 35.02°)
OKLaboklab(48.23% 0.152 0.0799)
OKLCHoklch(48.23% 0.172 27.7)
XYZxyz(17.4281, 9.8499, 2.2796)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##AA231F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.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

Preview Lab

Preview with #AA231F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA231F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva