#9E2227#9E2227

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

Color values

HEX#9E2227
RGBrgb(158, 34, 39)
HSLhsl(358, 65%, 38%)
HSVhsv(358, 78%, 62%)
CMYKcmyk(0%, 78.5%, 75.3%, 38%)
CIE-LABlab(35.13, 50.07, 29.26)
CIE-LCHlch(35.13, 57.99, 30.30°)
OKLaboklab(46.01% 0.1455 0.0658)
OKLCHoklch(46.01% 0.16 24.3)
XYZxyz(15.0406, 8.5620, 2.7797)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2227 #229E99
analogous
#9E2265 #9E2227 #9E5B22
triadic
#9E2227 #279E22 #22279E
tetradic
#9E2227 #659E22 #229E99 #5B229E
square
#9E2227 #659E22 #229E99 #5B229E
split-complementary
#9E2227 #229E5B #22659E
monochromatic
#390C0E #6C171B #9E2227 #D02D33 #DC5E63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2227#FFFFFF#000000##FFFFFF
##9E22271.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)
#484226
Deuteranopia (green-blind)
#675C22
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2227;
/* rgb */ color: rgb(158, 34, 39);
/* oklch */ color: oklch(46.0% 0.160 24.3);
Tailwind
colors: {
  custom: {
    50: '#c36961',
    500: '#9e2227',
    950: '#000000',
  },
}
SCSS
$custom: #9e2227;
$custom-light: #c36961;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2227",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.581,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.15967,
    "h": 24.3
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#9E2227
secondary
#5BC1BD
accent
#E8E140
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9E2227

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

Preview Lab → · Contrast checker → · Palette generator →

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