#9E2B1F#9E2B1F

#9E2B1F is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.153 H 29.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9E2B1F
RGBrgb(158, 43, 31)
HSLhsl(6, 67%, 37%)
HSVhsv(6, 80%, 62%)
CMYKcmyk(0%, 72.8%, 80.4%, 38%)
CIE-LABlab(36.17, 46.60, 35.06)
CIE-LCHlch(36.17, 58.31, 36.96°)
OKLaboklab(46.76% 0.1328 0.0762)
OKLCHoklch(46.76% 0.153 29.8)
XYZxyz(15.2135, 9.0981, 2.2511)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B1F #1F929E
analogous
#9E1F53 #9E2B1F #9E6A1F
triadic
#9E2B1F #1F9E2B #2B1F9E
tetradic
#9E2B1F #539E1F #1F929E #6A1F9E
square
#9E2B1F #539E1F #1F929E #6A1F9E
split-complementary
#9E2B1F #1F9E6A #1F539E
monochromatic
#380F0B #6B1D15 #9E2B1F #D13929 #DE6659

Accessibility & contrast

On white

7.45
#9E2B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9E2B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2B1F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B1F#FFFFFF#000000##FFFFFF
##9E2B1F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451C
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#AE0029
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2b1f;
/* rgb */ color: rgb(158, 43, 31);
/* oklch */ color: oklch(46.8% 0.153 29.8);
Tailwind
colors: {
  custom: {
    50: '#c36d5c',
    500: '#9e2b1f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b1f;
$custom-light: #c36d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b1f",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 31
  },
  "hsl": {
    "h": 5.669,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.15311,
    "h": 29.8
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#9E2B1F
secondary
#56B8C2
accent
#DAEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E2B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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