#9E231F#9E231F

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

Color values

HEX#9E231F
RGBrgb(158, 35, 31)
HSLhsl(2, 67%, 37%)
HSVhsv(2, 80%, 62%)
CMYKcmyk(0%, 77.8%, 80.4%, 38%)
CIE-LABlab(35.15, 49.44, 34.02)
CIE-LCHlch(35.15, 60.01, 34.53°)
OKLaboklab(46% 0.1417 0.0739)
OKLCHoklch(46% 0.16 27.5)
XYZxyz(14.9507, 8.5725, 2.1635)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E231F #1F9A9E
analogous
#9E1F5A #9E231F #9E631F
triadic
#9E231F #1F9E23 #231F9E
tetradic
#9E231F #5A9E1F #1F9A9E #631F9E
square
#9E231F #5A9E1F #1F9A9E #631F9E
split-complementary
#9E231F #1F9E63 #1F5A9E
monochromatic
#380C0B #6B1815 #9E231F #D12E29 #DE5D59

Accessibility & contrast

On white

7.74
#9E231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E231F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E231F#FFFFFF#000000##FFFFFF
##9E231F1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49421D
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#AE0024
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e231f;
/* rgb */ color: rgb(158, 35, 31);
/* oklch */ color: oklch(46.0% 0.160 27.5);
Tailwind
colors: {
  custom: {
    50: '#c4695b',
    500: '#9e231f',
    950: '#000000',
  },
}
SCSS
$custom: #9e231f;
$custom-light: #c4695b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e231f",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 1.89,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45999,
    "c": 0.15984,
    "h": 27.5
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#9E231F
secondary
#56BFC2
accent
#E5EA3E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E231F

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

Preview Lab → · Contrast checker → · Palette generator →

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