#9E271E#9E271E

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

Color values

HEX#9E271E
RGBrgb(158, 39, 30)
HSLhsl(4, 68%, 37%)
HSVhsv(4, 81%, 62%)
CMYKcmyk(0%, 75.3%, 81%, 38%)
CIE-LABlab(35.63, 48.04, 35.07)
CIE-LCHlch(35.63, 59.48, 36.13°)
OKLaboklab(46.35% 0.1371 0.0759)
OKLCHoklch(46.35% 0.157 29)
XYZxyz(15.0622, 8.8162, 2.1367)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E271E #1E959E
analogous
#9E1E55 #9E271E #9E671E
triadic
#9E271E #1E9E27 #271E9E
tetradic
#9E271E #559E1E #1E959E #671E9E
square
#9E271E #559E1E #1E959E #671E9E
split-complementary
#9E271E #1E9E67 #1E559E
monochromatic
#370E0A #6B1A14 #9E271E #D13428 #DF6157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E271E#FFFFFF#000000##FFFFFF
##9E271E1.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)
#4B431C
Deuteranopia (green-blind)
#695D18
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e271e;
/* rgb */ color: rgb(158, 39, 30);
/* oklch */ color: oklch(46.4% 0.157 29.0);
Tailwind
colors: {
  custom: {
    50: '#c36b5b',
    500: '#9e271e',
    950: '#000000',
  },
}
SCSS
$custom: #9e271e;
$custom-light: #c36b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e271e",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.219,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46354,
    "c": 0.15671,
    "h": 29
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#9E271E
secondary
#55BBC3
accent
#DFEB3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E271E

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

Preview Lab → · Contrast checker → · Palette generator →

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