#9E271F#9E271F

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

Color values

HEX#9E271F
RGBrgb(158, 39, 31)
HSLhsl(4, 67%, 37%)
HSVhsv(4, 80%, 62%)
CMYKcmyk(0%, 75.3%, 80.4%, 38%)
CIE-LABlab(35.64, 48.07, 34.52)
CIE-LCHlch(35.64, 59.18, 35.68°)
OKLaboklab(46.37% 0.1374 0.075)
OKLCHoklch(46.37% 0.157 28.6)
XYZxyz(15.0752, 8.8214, 2.2050)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E271F #1F969E
analogous
#9E1F56 #9E271F #9E671F
triadic
#9E271F #1F9E27 #271F9E
tetradic
#9E271F #569E1F #1F969E #671F9E
square
#9E271F #569E1F #1F969E #671F9E
split-complementary
#9E271F #1F9E67 #1F569E
monochromatic
#380E0B #6B1A15 #9E271F #D13429 #DE6159

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E271F#FFFFFF#000000##FFFFFF
##9E271F1.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)
#4B431D
Deuteranopia (green-blind)
#695D1A
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e271f;
/* rgb */ color: rgb(158, 39, 31);
/* oklch */ color: oklch(46.4% 0.157 28.6);
Tailwind
colors: {
  custom: {
    50: '#c36b5c',
    500: '#9e271f',
    950: '#000000',
  },
}
SCSS
$custom: #9e271f;
$custom-light: #c36b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e271f",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 3.78,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.15657,
    "h": 28.6
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#9E271F
secondary
#56BCC2
accent
#DFEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E271F

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

Preview Lab → · Contrast checker → · Palette generator →

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