#9E2131#9E2131

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

Color values

HEX#9E2131
RGBrgb(158, 33, 49)
HSLhsl(352, 65%, 37%)
HSVhsv(352, 79%, 62%)
CMYKcmyk(0%, 79.1%, 69%, 38%)
CIE-LABlab(35.16, 50.86, 23.08)
CIE-LCHlch(35.16, 55.85, 24.41°)
OKLaboklab(46.09% 0.1503 0.0541)
OKLCHoklch(46.09% 0.16 19.8)
XYZxyz(15.2005, 8.5809, 3.7610)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2131 #219E8E
analogous
#9E2170 #9E2131 #9E5021
triadic
#9E2131 #319E21 #21319E
tetradic
#9E2131 #709E21 #219E8E #50219E
square
#9E2131 #709E21 #219E8E #50219E
split-complementary
#9E2131 #219E50 #21709E
monochromatic
#390C12 #6B1621 #9E2131 #D12C41 #DD5C6D

Accessibility & contrast

On white

7.73
#9E2131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E2131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2131
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2131#FFFFFF#000000##FFFFFF
##9E21311.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2131;
/* rgb */ color: rgb(158, 33, 49);
/* oklch */ color: oklch(46.1% 0.160 19.8);
Tailwind
colors: {
  custom: {
    50: '#c26969',
    500: '#9e2131',
    950: '#000000',
  },
}
SCSS
$custom: #9e2131;
$custom-light: #c26969;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2131",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 352.32,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.15972,
    "h": 19.8
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#9E2131
secondary
#59C1B4
accent
#E8D33F
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E2131

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

Preview Lab → · Contrast checker → · Palette generator →

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