#9E1F23#9E1F23

#9E1F23 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.162 H 25.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9E1F23
RGBrgb(158, 31, 35)
HSLhsl(358, 67%, 37%)
HSVhsv(358, 80%, 62%)
CMYKcmyk(0%, 80.4%, 77.8%, 38%)
CIE-LABlab(34.75, 50.83, 31.25)
CIE-LCHlch(34.75, 59.67, 31.58°)
OKLaboklab(45.72% 0.147 0.0691)
OKLCHoklch(45.72% 0.162 25.2)
XYZxyz(14.8957, 8.3728, 2.4216)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F23 #1F9E9A
analogous
#9E1F63 #9E1F23 #9E5A1F
triadic
#9E1F23 #239E1F #1F239E
tetradic
#9E1F23 #639E1F #1F9E9A #5A1F9E
square
#9E1F23 #639E1F #1F9E9A #5A1F9E
split-complementary
#9E1F23 #1F9E5A #1F639E
monochromatic
#380B0C #6B1518 #9E1F23 #D1292E #DE595D

Accessibility & contrast

On white

7.85
#9E1F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F23
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F23#FFFFFF#000000##FFFFFF
##9E1F231.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474022
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#AE0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f23;
/* rgb */ color: rgb(158, 31, 35);
/* oklch */ color: oklch(45.7% 0.162 25.2);
Tailwind
colors: {
  custom: {
    50: '#c3685e',
    500: '#9e1f23',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f23;
$custom-light: #c3685e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f23",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 358.11,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.16243,
    "h": 25.2
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#9E1F23
secondary
#56C2BF
accent
#EAE53E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E1F23

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

Preview Lab → · Contrast checker → · Palette generator →

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