#9E2517#9E2517

#9E2517 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.1% C 0.159 H 30.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9E2517
RGBrgb(158, 37, 23)
HSLhsl(6, 75%, 35%)
HSVhsv(6, 85%, 62%)
CMYKcmyk(0%, 76.6%, 85.4%, 38%)
CIE-LABlab(35.31, 48.53, 38.53)
CIE-LCHlch(35.31, 61.96, 38.45°)
OKLaboklab(46.1% 0.1373 0.0809)
OKLCHoklch(46.1% 0.159 30.5)
XYZxyz(14.9186, 8.6565, 1.6958)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2517 #17909E
analogous
#9E174D #9E2517 #9E6817
triadic
#9E2517 #179E25 #25179E
tetradic
#9E2517 #4D9E17 #17909E #68179E
square
#9E2517 #4D9E17 #17909E #68179E
split-complementary
#9E2517 #179E68 #174D9E
monochromatic
#330C07 #69180F #9E2517 #D3321F #E55B4B

Accessibility & contrast

On white

7.69
#9E2517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9E2517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2517
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2517#FFFFFF#000000##FFFFFF
##9E25171.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4214
Deuteranopia (green-blind)
#685D10
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2517;
/* rgb */ color: rgb(158, 37, 23);
/* oklch */ color: oklch(46.1% 0.159 30.5);
Tailwind
colors: {
  custom: {
    50: '#c46a56',
    500: '#9e2517',
    950: '#000000',
  },
}
SCSS
$custom: #9e2517;
$custom-light: #c46a56;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2517",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 6.222,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.461,
    "c": 0.15935,
    "h": 30.5
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#9E2517
secondary
#4AB9C6
accent
#DEF137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E2517

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

Preview Lab → · Contrast checker → · Palette generator →

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