#9E2231#9E2231

#9E2231 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.2% C 0.159 H 20.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9E2231
RGBrgb(158, 34, 49)
HSLhsl(353, 65%, 38%)
HSVhsv(353, 78%, 62%)
CMYKcmyk(0%, 78.5%, 69%, 38%)
CIE-LABlab(35.28, 50.55, 23.22)
CIE-LCHlch(35.28, 55.63, 24.67°)
OKLaboklab(46.17% 0.1493 0.0544)
OKLCHoklch(46.17% 0.159 20)
XYZxyz(15.2287, 8.6372, 3.7704)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2231 #229E8F
analogous
#9E226F #9E2231 #9E5122
triadic
#9E2231 #319E22 #22319E
tetradic
#9E2231 #6F9E22 #229E8F #51229E
square
#9E2231 #6F9E22 #229E8F #51229E
split-complementary
#9E2231 #229E51 #226F9E
monochromatic
#390C12 #6C1721 #9E2231 #D02D41 #DC5E6D

Accessibility & contrast

On white

7.70
#9E2231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9E2231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2231
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2231#FFFFFF#000000##FFFFFF
##9E22311.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474231
Deuteranopia (green-blind)
#665C2D
Tritanopia (blue-blind)
#AE0029
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2231;
/* rgb */ color: rgb(158, 34, 49);
/* oklch */ color: oklch(46.2% 0.159 20.0);
Tailwind
colors: {
  custom: {
    50: '#c26969',
    500: '#9e2231',
    950: '#000000',
  },
}
SCSS
$custom: #9e2231;
$custom-light: #c26969;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2231",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 352.742,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.15888,
    "h": 20
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#9E2231
secondary
#5BC1B5
accent
#E8D340
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E2231

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

Preview Lab → · Contrast checker → · Palette generator →

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