#AA231B#AA231B

#AA231B is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.2% C 0.172 H 28.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AA231B
RGBrgb(170, 35, 27)
HSLhsl(3, 73%, 39%)
HSVhsv(3, 84%, 67%)
CMYKcmyk(0%, 79.4%, 84.1%, 33.3%)
CIE-LABlab(37.54, 53.03, 39.37)
CIE-LCHlch(37.54, 66.05, 36.59°)
OKLaboklab(48.2% 0.1508 0.083)
OKLCHoklch(48.2% 0.172 28.8)
XYZxyz(17.3786, 9.8301, 2.0191)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA231B #1BA2AA
analogous
#AA1B5A #AA231B #AA6A1B
triadic
#AA231B #1BAA23 #231BAA
tetradic
#AA231B #5AAA1B #1BA2AA #6A1BAA
square
#AA231B #5AAA1B #1BA2AA #6A1BAA
split-complementary
#AA231B #1BAA6A #1B5AAA
monochromatic
#400D0A #751813 #AA231B #DC3026 #E5625B

Accessibility & contrast

On white

7.08
#AA231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#AA231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA231B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA231B#FFFFFF#000000##FFFFFF
##AA231B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4518
Deuteranopia (green-blind)
#6F6313
Tritanopia (blue-blind)
#BC0023
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #aa231b;
/* rgb */ color: rgb(170, 35, 27);
/* oklch */ color: oklch(48.2% 0.172 28.8);
Tailwind
colors: {
  custom: {
    50: '#cd6b59',
    500: '#aa231b',
    950: '#000000',
  },
}
SCSS
$custom: #aa231b;
$custom-light: #cd6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#aa231b",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.357,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.17217,
    "h": 28.8
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#AA231B
secondary
#58C2C9
accent
#E5EF39
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #AA231B

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

Preview Lab → · Contrast checker → · Palette generator →

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