#9E271B#9E271B

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

Color values

HEX#9E271B
RGBrgb(158, 39, 27)
HSLhsl(5, 71%, 36%)
HSVhsv(5, 83%, 62%)
CMYKcmyk(0%, 75.3%, 82.9%, 38%)
CIE-LABlab(35.60, 47.94, 36.69)
CIE-LCHlch(35.60, 60.37, 37.42°)
OKLaboklab(46.32% 0.1362 0.0784)
OKLCHoklch(46.32% 0.157 29.9)
XYZxyz(15.0257, 8.8016, 1.9444)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E271B #1B929E
analogous
#9E1B51 #9E271B #9E691B
triadic
#9E271B #1B9E27 #271B9E
tetradic
#9E271B #519E1B #1B929E #691B9E
square
#9E271B #519E1B #1B929E #691B9E
split-complementary
#9E271B #1B9E69 #1B519E
monochromatic
#350D09 #6A1A12 #9E271B #D23424 #E15F52

Accessibility & contrast

On white

7.61
#9E271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E271B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E271B#FFFFFF#000000##FFFFFF
##9E271B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e271b;
/* rgb */ color: rgb(158, 39, 27);
/* oklch */ color: oklch(46.3% 0.157 29.9);
Tailwind
colors: {
  custom: {
    50: '#c46b59',
    500: '#9e271b',
    950: '#000000',
  },
}
SCSS
$custom: #9e271b;
$custom-light: #c46b59;
$custom-dark: #000000;
JSON
{
  "hex": "#9e271b",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 5.496,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46323,
    "c": 0.15716,
    "h": 29.9
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#9E271B
secondary
#51BAC4
accent
#DDEE3A
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9E271B

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

Preview Lab → · Contrast checker → · Palette generator →

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