#9E223A#9E223A

#9E223A is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.159 H 15.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9E223A
RGBrgb(158, 34, 58)
HSLhsl(348, 65%, 38%)
HSVhsv(348, 78%, 62%)
CMYKcmyk(0%, 78.5%, 63.3%, 38%)
CIE-LABlab(35.44, 51.08, 17.69)
CIE-LCHlch(35.44, 54.05, 19.10°)
OKLaboklab(46.35% 0.1529 0.0429)
OKLCHoklch(46.35% 0.159 15.7)
XYZxyz(15.4379, 8.7210, 4.8726)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E223A #229E86
analogous
#9E2278 #9E223A #9E4822
triadic
#9E223A #3A9E22 #223A9E
tetradic
#9E223A #789E22 #229E86 #48229E
square
#9E223A #789E22 #229E86 #48229E
split-complementary
#9E223A #229E48 #22789E
monochromatic
#390C15 #6C1728 #9E223A #D02D4C #DC5E76

Accessibility & contrast

On white

7.65
#9E223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E223A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E223A#FFFFFF#000000##FFFFFF
##9E223A1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45433A
Deuteranopia (green-blind)
#655D37
Tritanopia (blue-blind)
#AD002C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e223a;
/* rgb */ color: rgb(158, 34, 58);
/* oklch */ color: oklch(46.3% 0.159 15.7);
Tailwind
colors: {
  custom: {
    50: '#c2696f',
    500: '#9e223a',
    950: '#000000',
  },
}
SCSS
$custom: #9e223a;
$custom-light: #c2696f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e223a",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 348.387,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46348,
    "c": 0.15878,
    "h": 15.7
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#9E223A
secondary
#5BC1AD
accent
#E8C740
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E223A

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

Preview Lab → · Contrast checker → · Palette generator →

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