#9E271A#9E271A

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

Color values

HEX#9E271A
RGBrgb(158, 39, 26)
HSLhsl(6, 72%, 36%)
HSVhsv(6, 84%, 62%)
CMYKcmyk(0%, 75.3%, 83.5%, 38%)
CIE-LABlab(35.59, 47.91, 37.22)
CIE-LCHlch(35.59, 60.67, 37.84°)
OKLaboklab(46.31% 0.1359 0.0792)
OKLCHoklch(46.31% 0.157 30.2)
XYZxyz(15.0143, 8.7971, 1.8845)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E271A #1A919E
analogous
#9E1A4F #9E271A #9E691A
triadic
#9E271A #1A9E27 #271A9E
tetradic
#9E271A #4F9E1A #1A919E #691A9E
square
#9E271A #4F9E1A #1A919E #691A9E
split-complementary
#9E271A #1A9E69 #1A4F9E
monochromatic
#350D09 #691A11 #9E271A #D33423 #E25F50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E271A#FFFFFF#000000##FFFFFF
##9E271A1.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)
#4B4317
Deuteranopia (green-blind)
#695D14
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e271a;
/* rgb */ color: rgb(158, 39, 26);
/* oklch */ color: oklch(46.3% 0.157 30.2);
Tailwind
colors: {
  custom: {
    50: '#c46b58',
    500: '#9e271a',
    950: '#000000',
  },
}
SCSS
$custom: #9e271a;
$custom-light: #c46b58;
$custom-dark: #000000;
JSON
{
  "hex": "#9e271a",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 5.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46314,
    "c": 0.1573,
    "h": 30.2
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#9E271A
secondary
#4FB9C5
accent
#DDEE39
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9E271A

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

Preview Lab → · Contrast checker → · Palette generator →

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