#9E2831#9E2831

#9E2831 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.154 H 21.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9E2831
RGBrgb(158, 40, 49)
HSLhsl(355, 60%, 39%)
HSVhsv(355, 75%, 62%)
CMYKcmyk(0%, 74.7%, 69%, 38%)
CIE-LABlab(36.00, 48.51, 24.12)
CIE-LCHlch(36.00, 54.18, 26.43°)
OKLaboklab(46.71% 0.1428 0.0564)
OKLCHoklch(46.71% 0.154 21.6)
XYZxyz(15.4154, 9.0107, 3.8327)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2831 #289E95
analogous
#9E286C #9E2831 #9E5A28
triadic
#9E2831 #319E28 #28319E
tetradic
#9E2831 #6C9E28 #289E95 #5A289E
square
#9E2831 #6C9E28 #289E95 #5A289E
split-complementary
#9E2831 #289E5A #286C9E
monochromatic
#3C0F13 #6D1C22 #9E2831 #CC3742 #D96870

Accessibility & contrast

On white

7.50
#9E2831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9E2831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2831
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2831#FFFFFF#000000##FFFFFF
##9E28311.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4530
Deuteranopia (green-blind)
#675E2D
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2831;
/* rgb */ color: rgb(158, 40, 49);
/* oklch */ color: oklch(46.7% 0.154 21.6);
Tailwind
colors: {
  custom: {
    50: '#c26c69',
    500: '#9e2831',
    950: '#000000',
  },
}
SCSS
$custom: #9e2831;
$custom-light: #c26c69;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2831",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 355.424,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.15352,
    "h": 21.6
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#9E2831
secondary
#63BFB8
accent
#E3D745
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E2831

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

Preview Lab → · Contrast checker → · Palette generator →

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