#9A231C#9A231C

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

Color values

HEX#9A231C
RGBrgb(154, 35, 28)
HSLhsl(3, 69%, 36%)
HSVhsv(3, 82%, 60%)
CMYKcmyk(0%, 77.3%, 81.8%, 39.6%)
CIE-LABlab(34.31, 48.07, 34.61)
CIE-LCHlch(34.31, 59.23, 35.75°)
OKLaboklab(45.22% 0.1373 0.0746)
OKLCHoklch(45.22% 0.156 28.5)
XYZxyz(14.1388, 8.1582, 1.9286)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A231C #1C939A
analogous
#9A1C54 #9A231C #9A621C
triadic
#9A231C #1C9A23 #231C9A
tetradic
#9A231C #549A1C #1C939A #621C9A
square
#9A231C #549A1C #1C939A #621C9A
split-complementary
#9A231C #1C9A62 #1C549A
monochromatic
#320B09 #661713 #9A231C #CE2F25 #DF5951

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A231C#FFFFFF#000000##FFFFFF
##9A231C1.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)
#48401A
Deuteranopia (green-blind)
#655A16
Tritanopia (blue-blind)
#AA0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a231c;
/* rgb */ color: rgb(154, 35, 28);
/* oklch */ color: oklch(45.2% 0.156 28.5);
Tailwind
colors: {
  custom: {
    50: '#c16859',
    500: '#9a231c',
    950: '#000000',
  },
}
SCSS
$custom: #9a231c;
$custom-light: #c16859;
$custom-dark: #000000;
JSON
{
  "hex": "#9a231c",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 3.333,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.15621,
    "h": 28.5
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#9A231C
secondary
#50BCC2
accent
#E2EC3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9A231C

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

Preview Lab → · Contrast checker → · Palette generator →

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