#9E2331#9E2331

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

Color values

HEX#9E2331
RGBrgb(158, 35, 49)
HSLhsl(353, 64%, 38%)
HSVhsv(353, 78%, 62%)
CMYKcmyk(0%, 77.8%, 69%, 38%)
CIE-LABlab(35.39, 50.23, 23.36)
CIE-LCHlch(35.39, 55.39, 24.94°)
OKLaboklab(46.26% 0.1482 0.0547)
OKLCHoklch(46.26% 0.158 20.3)
XYZxyz(15.2577, 8.6953, 3.7801)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2331 #239E90
analogous
#9E236E #9E2331 #9E5323
triadic
#9E2331 #319E23 #23319E
tetradic
#9E2331 #6E9E23 #239E90 #53239E
square
#9E2331 #6E9E23 #239E90 #53239E
split-complementary
#9E2331 #239E53 #236E9E
monochromatic
#3A0D12 #6C1821 #9E2331 #D02E41 #DC606E

Accessibility & contrast

On white

7.67
#9E2331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2331
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2331#FFFFFF#000000##FFFFFF
##9E23311.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2331;
/* rgb */ color: rgb(158, 35, 49);
/* oklch */ color: oklch(46.3% 0.158 20.3);
Tailwind
colors: {
  custom: {
    50: '#c26969',
    500: '#9e2331',
    950: '#000000',
  },
}
SCSS
$custom: #9e2331;
$custom-light: #c26969;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2331",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 353.171,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46257,
    "c": 0.15802,
    "h": 20.3
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#9E2331
secondary
#5CC1B5
accent
#E7D441
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E2331

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

Preview Lab → · Contrast checker → · Palette generator →

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