#9E1F1C#9E1F1C

#9E1F1C is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.163 H 27.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9E1F1C
RGBrgb(158, 31, 28)
HSLhsl(1, 70%, 36%)
HSVhsv(1, 82%, 62%)
CMYKcmyk(0%, 80.4%, 82.3%, 38%)
CIE-LABlab(34.67, 50.59, 35.24)
CIE-LCHlch(34.67, 61.66, 34.86°)
OKLaboklab(45.64% 0.1447 0.0755)
OKLCHoklch(45.64% 0.163 27.6)
XYZxyz(14.8020, 8.3353, 1.9279)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F1C #1C9B9E
analogous
#9E1C5A #9E1F1C #9E601C
triadic
#9E1F1C #1C9E1F #1F1C9E
tetradic
#9E1F1C #5A9E1C #1C9B9E #601C9E
square
#9E1F1C #5A9E1C #1C9B9E #601C9E
split-complementary
#9E1F1C #1C9E60 #1C5A9E
monochromatic
#360B0A #6A1513 #9E1F1C #D22925 #E15754

Accessibility & contrast

On white

7.88
#9E1F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9E1F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F1C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F1C#FFFFFF#000000##FFFFFF
##9E1F1C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401A
Deuteranopia (green-blind)
#675B16
Tritanopia (blue-blind)
#AF0020
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f1c;
/* rgb */ color: rgb(158, 31, 28);
/* oklch */ color: oklch(45.6% 0.163 27.6);
Tailwind
colors: {
  custom: {
    50: '#c46759',
    500: '#9e1f1c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f1c;
$custom-light: #c46759;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f1c",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 28
  },
  "hsl": {
    "h": 1.385,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.16325,
    "h": 27.6
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#9E1F1C
secondary
#52C1C4
accent
#E9ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E1F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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