#9E2A1F#9E2A1F

#9E2A1F is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.154 H 29.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9E2A1F
RGBrgb(158, 42, 31)
HSLhsl(5, 67%, 37%)
HSVhsv(5, 80%, 62%)
CMYKcmyk(0%, 73.4%, 80.4%, 38%)
CIE-LABlab(36.03, 46.98, 34.92)
CIE-LCHlch(36.03, 58.53, 36.63°)
OKLaboklab(46.66% 0.134 0.0759)
OKLCHoklch(46.66% 0.154 29.5)
XYZxyz(15.1776, 9.0263, 2.2391)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A1F #1F939E
analogous
#9E1F54 #9E2A1F #9E6A1F
triadic
#9E2A1F #1F9E2A #2A1F9E
tetradic
#9E2A1F #549E1F #1F939E #6A1F9E
square
#9E2A1F #549E1F #1F939E #6A1F9E
split-complementary
#9E2A1F #1F9E6A #1F549E
monochromatic
#380F0B #6B1C15 #9E2A1F #D13829 #DE6559

Accessibility & contrast

On white

7.49
#9E2A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9E2A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A1F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A1F#FFFFFF#000000##FFFFFF
##9E2A1F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451D
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#AE0029
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2a1f;
/* rgb */ color: rgb(158, 42, 31);
/* oklch */ color: oklch(46.7% 0.154 29.5);
Tailwind
colors: {
  custom: {
    50: '#c36c5c',
    500: '#9e2a1f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a1f;
$custom-light: #c36c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a1f",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 5.197,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.15399,
    "h": 29.5
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#9E2A1F
secondary
#56B9C2
accent
#DBEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E2A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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