#9E2118#9E2118

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

Color values

HEX#9E2118
RGBrgb(158, 33, 24)
HSLhsl(4, 74%, 36%)
HSVhsv(4, 85%, 62%)
CMYKcmyk(0%, 79.1%, 84.8%, 38%)
CIE-LABlab(34.85, 49.87, 37.59)
CIE-LCHlch(34.85, 62.45, 37.01°)
OKLaboklab(45.76% 0.1417 0.0792)
OKLCHoklch(45.76% 0.162 29.2)
XYZxyz(14.8111, 8.4252, 1.7103)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2118 #18959E
analogous
#9E1852 #9E2118 #9E6418
triadic
#9E2118 #189E21 #21189E
tetradic
#9E2118 #529E18 #18959E #64189E
square
#9E2118 #529E18 #18959E #64189E
split-complementary
#9E2118 #189E64 #18529E
monochromatic
#340B08 #691610 #9E2118 #D32C20 #E4574D

Accessibility & contrast

On white

7.82
#9E2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E2118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2118
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2118#FFFFFF#000000##FFFFFF
##9E21181.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494015
Deuteranopia (green-blind)
#675C11
Tritanopia (blue-blind)
#AF0021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e2118;
/* rgb */ color: rgb(158, 33, 24);
/* oklch */ color: oklch(45.8% 0.162 29.2);
Tailwind
colors: {
  custom: {
    50: '#c46857',
    500: '#9e2118',
    950: '#000000',
  },
}
SCSS
$custom: #9e2118;
$custom-light: #c46857;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2118",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 4.03,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.16229,
    "h": 29.2
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#9E2118
secondary
#4CBEC6
accent
#E4F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E2118

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

Preview Lab → · Contrast checker → · Palette generator →

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