#9E2A1B#9E2A1B

#9E2A1B is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.6% C 0.155 H 30.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9E2A1B
RGBrgb(158, 42, 27)
HSLhsl(7, 71%, 36%)
HSVhsv(7, 83%, 62%)
CMYKcmyk(0%, 73.4%, 82.9%, 38%)
CIE-LABlab(36.00, 46.84, 37.07)
CIE-LCHlch(36.00, 59.74, 38.36°)
OKLaboklab(46.62% 0.1328 0.0792)
OKLCHoklch(46.62% 0.155 30.8)
XYZxyz(15.1281, 9.0065, 1.9786)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A1B #1B8F9E
analogous
#9E1B4E #9E2A1B #9E6C1B
triadic
#9E2A1B #1B9E2A #2A1B9E
tetradic
#9E2A1B #4E9E1B #1B8F9E #6C1B9E
square
#9E2A1B #4E9E1B #1B8F9E #6C1B9E
split-complementary
#9E2A1B #1B9E6C #1B4E9E
monochromatic
#350E09 #6A1C12 #9E2A1B #D23824 #E16252

Accessibility & contrast

On white

7.50
#9E2A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9E2A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A1B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A1B#FFFFFF#000000##FFFFFF
##9E2A1B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4418
Deuteranopia (green-blind)
#6A5E15
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2a1b;
/* rgb */ color: rgb(158, 42, 27);
/* oklch */ color: oklch(46.6% 0.155 30.8);
Tailwind
colors: {
  custom: {
    50: '#c36c59',
    500: '#9e2a1b',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a1b;
$custom-light: #c36c59;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a1b",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 27
  },
  "hsl": {
    "h": 6.87,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4662,
    "c": 0.15463,
    "h": 30.8
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#9E2A1B
secondary
#51B7C4
accent
#D9EE3A
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9E2A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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