#9E271C#9E271C

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

Color values

HEX#9E271C
RGBrgb(158, 39, 28)
HSLhsl(5, 70%, 36%)
HSVhsv(5, 82%, 62%)
CMYKcmyk(0%, 75.3%, 82.3%, 38%)
CIE-LABlab(35.61, 47.98, 36.15)
CIE-LCHlch(35.61, 60.07, 37.00°)
OKLaboklab(46.33% 0.1365 0.0776)
OKLCHoklch(46.33% 0.157 29.6)
XYZxyz(15.0375, 8.8063, 2.0064)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E271C #1C939E
analogous
#9E1C52 #9E271C #9E681C
triadic
#9E271C #1C9E27 #271C9E
tetradic
#9E271C #529E1C #1C939E #681C9E
square
#9E271C #529E1C #1C939E #681C9E
split-complementary
#9E271C #1C9E68 #1C529E
monochromatic
#360D0A #6A1A13 #9E271C #D23425 #E16054

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E271C#FFFFFF#000000##FFFFFF
##9E271C1.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)
#4B4319
Deuteranopia (green-blind)
#695D16
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e271c;
/* rgb */ color: rgb(158, 39, 28);
/* oklch */ color: oklch(46.3% 0.157 29.6);
Tailwind
colors: {
  custom: {
    50: '#c46b5a',
    500: '#9e271c',
    950: '#000000',
  },
}
SCSS
$custom: #9e271c;
$custom-light: #c46b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e271c",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.077,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.157,
    "h": 29.6
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#9E271C
secondary
#52BAC4
accent
#DEED3B
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E271C

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

Preview Lab → · Contrast checker → · Palette generator →

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