#9E271D#9E271D

#9E271D is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.3% C 0.157 H 29.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9E271D
RGBrgb(158, 39, 29)
HSLhsl(5, 69%, 37%)
HSVhsv(5, 82%, 62%)
CMYKcmyk(0%, 75.3%, 81.6%, 38%)
CIE-LABlab(35.62, 48.01, 35.61)
CIE-LCHlch(35.62, 59.77, 36.57°)
OKLaboklab(46.34% 0.1368 0.0767)
OKLCHoklch(46.34% 0.157 29.3)
XYZxyz(15.0496, 8.8112, 2.0705)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E271D #1D949E
analogous
#9E1D54 #9E271D #9E681D
triadic
#9E271D #1D9E27 #271D9E
tetradic
#9E271D #549E1D #1D949E #681D9E
square
#9E271D #549E1D #1D949E #681D9E
split-complementary
#9E271D #1D9E68 #1D549E
monochromatic
#370D0A #6A1A14 #9E271D #D23426 #E06056

Accessibility & contrast

On white

7.60
#9E271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9E271D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E271D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E271D#FFFFFF#000000##FFFFFF
##9E271D1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#695D17
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e271d;
/* rgb */ color: rgb(158, 39, 29);
/* oklch */ color: oklch(46.3% 0.157 29.3);
Tailwind
colors: {
  custom: {
    50: '#c36b5a',
    500: '#9e271d',
    950: '#000000',
  },
}
SCSS
$custom: #9e271d;
$custom-light: #c36b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e271d",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 4.651,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46343,
    "c": 0.15686,
    "h": 29.3
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#9E271D
secondary
#54BBC3
accent
#DEEC3C
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E271D

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

Preview Lab → · Contrast checker → · Palette generator →

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