#9E231B#9E231B

#9E231B is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.160 H 28.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9E231B
RGBrgb(158, 35, 27)
HSLhsl(4, 71%, 36%)
HSVhsv(4, 83%, 62%)
CMYKcmyk(0%, 77.8%, 82.9%, 38%)
CIE-LABlab(35.11, 49.31, 36.22)
CIE-LCHlch(35.11, 61.18, 36.29°)
OKLaboklab(45.96% 0.1405 0.0773)
OKLCHoklch(45.96% 0.16 28.8)
XYZxyz(14.9012, 8.5527, 1.9029)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E231B #1B969E
analogous
#9E1B55 #9E231B #9E651B
triadic
#9E231B #1B9E23 #231B9E
tetradic
#9E231B #559E1B #1B969E #651B9E
square
#9E231B #559E1B #1B969E #651B9E
split-complementary
#9E231B #1B9E65 #1B559E
monochromatic
#350C09 #6A1712 #9E231B #D22F24 #E15B52

Accessibility & contrast

On white

7.75
#9E231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E231B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E231B#FFFFFF#000000##FFFFFF
##9E231B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494118
Deuteranopia (green-blind)
#685C15
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e231b;
/* rgb */ color: rgb(158, 35, 27);
/* oklch */ color: oklch(46.0% 0.160 28.8);
Tailwind
colors: {
  custom: {
    50: '#c46959',
    500: '#9e231b',
    950: '#000000',
  },
}
SCSS
$custom: #9e231b;
$custom-light: #c46959;
$custom-dark: #000000;
JSON
{
  "hex": "#9e231b",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.664,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45957,
    "c": 0.16038,
    "h": 28.8
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#9E231B
secondary
#51BDC4
accent
#E3EE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9E231B

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

Preview Lab → · Contrast checker → · Palette generator →

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