#9E2228#9E2228

#9E2228 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.160 H 23.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9E2228
RGBrgb(158, 34, 40)
HSLhsl(357, 65%, 38%)
HSVhsv(357, 78%, 62%)
CMYKcmyk(0%, 78.5%, 74.7%, 38%)
CIE-LABlab(35.14, 50.11, 28.66)
CIE-LCHlch(35.14, 57.73, 29.77°)
OKLaboklab(46.03% 0.1458 0.0648)
OKLCHoklch(46.03% 0.16 23.9)
XYZxyz(15.0573, 8.5687, 2.8682)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2228 #229E98
analogous
#9E2266 #9E2228 #9E5A22
triadic
#9E2228 #289E22 #22289E
tetradic
#9E2228 #669E22 #229E98 #5A229E
square
#9E2228 #669E22 #229E98 #5A229E
split-complementary
#9E2228 #229E5A #22669E
monochromatic
#390C0E #6C171B #9E2228 #D02D35 #DC5E64

Accessibility & contrast

On white

7.74
#9E2228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E2228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2228
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2228#FFFFFF#000000##FFFFFF
##9E22281.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484227
Deuteranopia (green-blind)
#675C23
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2228;
/* rgb */ color: rgb(158, 34, 40);
/* oklch */ color: oklch(46.0% 0.160 23.9);
Tailwind
colors: {
  custom: {
    50: '#c36962',
    500: '#9e2228',
    950: '#000000',
  },
}
SCSS
$custom: #9e2228;
$custom-light: #c36962;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2228",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 357.097,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.15956,
    "h": 23.9
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#9E2228
secondary
#5BC1BC
accent
#E8DF40
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9E2228

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

Preview Lab → · Contrast checker → · Palette generator →

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