#9A231D#9A231D

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

Color values

HEX#9A231D
RGBrgb(154, 35, 29)
HSLhsl(3, 68%, 36%)
HSVhsv(3, 81%, 60%)
CMYKcmyk(0%, 77.3%, 81.2%, 39.6%)
CIE-LABlab(34.32, 48.11, 34.05)
CIE-LCHlch(34.32, 58.94, 35.29°)
OKLaboklab(45.23% 0.1376 0.0737)
OKLCHoklch(45.23% 0.156 28.2)
XYZxyz(14.1509, 8.1630, 1.9927)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A231D #1D949A
analogous
#9A1D55 #9A231D #9A611D
triadic
#9A231D #1D9A23 #231D9A
tetradic
#9A231D #559A1D #1D949A #611D9A
square
#9A231D #559A1D #1D949A #611D9A
split-complementary
#9A231D #1D9A61 #1D559A
monochromatic
#330C0A #661713 #9A231D #CE2F27 #DF5A53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A231D#FFFFFF#000000##FFFFFF
##9A231D1.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)
#48401B
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#AA0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a231d;
/* rgb */ color: rgb(154, 35, 29);
/* oklch */ color: oklch(45.2% 0.156 28.2);
Tailwind
colors: {
  custom: {
    50: '#c1685a',
    500: '#9a231d',
    950: '#000000',
  },
}
SCSS
$custom: #9a231d;
$custom-light: #c1685a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a231d",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 2.88,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.15607,
    "h": 28.2
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#9A231D
secondary
#51BCC2
accent
#E3EB3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9A231D

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

Preview Lab → · Contrast checker → · Palette generator →

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