#9E2226#9E2226

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

Color values

HEX#9E2226
RGBrgb(158, 34, 38)
HSLhsl(358, 65%, 38%)
HSVhsv(358, 78%, 62%)
CMYKcmyk(0%, 78.5%, 75.9%, 38%)
CIE-LABlab(35.11, 50.03, 29.85)
CIE-LCHlch(35.11, 58.26, 30.82°)
OKLaboklab(46% 0.1451 0.0669)
OKLCHoklch(46% 0.16 24.7)
XYZxyz(15.0242, 8.5555, 2.6936)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2226 #229E9A
analogous
#9E2264 #9E2226 #9E5C22
triadic
#9E2226 #269E22 #22269E
tetradic
#9E2226 #649E22 #229E9A #5C229E
square
#9E2226 #649E22 #229E9A #5C229E
split-complementary
#9E2226 #229E5C #22649E
monochromatic
#390C0E #6C171A #9E2226 #D02D32 #DC5E62

Accessibility & contrast

On white

7.75
#9E2226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2226
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2226#FFFFFF#000000##FFFFFF
##9E22261.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484125
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2226;
/* rgb */ color: rgb(158, 34, 38);
/* oklch */ color: oklch(46.0% 0.160 24.7);
Tailwind
colors: {
  custom: {
    50: '#c36960',
    500: '#9e2226',
    950: '#000000',
  },
}
SCSS
$custom: #9e2226;
$custom-light: #c36960;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2226",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 358.065,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46,
    "c": 0.15978,
    "h": 24.7
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#9E2226
secondary
#5BC1BE
accent
#E8E240
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9E2226

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

Preview Lab → · Contrast checker → · Palette generator →

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