#9A231B#9A231B

#9A231B is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.2% C 0.156 H 28.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9A231B
RGBrgb(154, 35, 27)
HSLhsl(4, 70%, 35%)
HSVhsv(4, 82%, 60%)
CMYKcmyk(0%, 77.3%, 82.5%, 39.6%)
CIE-LABlab(34.30, 48.04, 35.16)
CIE-LCHlch(34.30, 59.53, 36.20°)
OKLaboklab(45.21% 0.137 0.0754)
OKLCHoklch(45.21% 0.156 28.8)
XYZxyz(14.1270, 8.1535, 1.8666)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A231B #1B929A
analogous
#9A1B52 #9A231B #9A631B
triadic
#9A231B #1B9A23 #231B9A
tetradic
#9A231B #529A1B #1B929A #631B9A
square
#9A231B #529A1B #1B929A #631B9A
split-complementary
#9A231B #1B9A63 #1B529A
monochromatic
#320B09 #661712 #9A231B #CE2F24 #E0584F

Accessibility & contrast

On white

7.98
#9A231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9A231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A231B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A231B#FFFFFF#000000##FFFFFF
##9A231B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#655A15
Tritanopia (blue-blind)
#AA0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a231b;
/* rgb */ color: rgb(154, 35, 27);
/* oklch */ color: oklch(45.2% 0.156 28.8);
Tailwind
colors: {
  custom: {
    50: '#c16859',
    500: '#9a231b',
    950: '#000000',
  },
}
SCSS
$custom: #9a231b;
$custom-light: #c16859;
$custom-dark: #000000;
JSON
{
  "hex": "#9a231b",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.78,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45211,
    "c": 0.15635,
    "h": 28.8
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#9A231B
secondary
#4EBBC3
accent
#E2ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9A231B

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

Preview Lab → · Contrast checker → · Palette generator →

#9A231B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva