#9E2837#9E2837

#9E2837 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.153 H 18.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9E2837
RGBrgb(158, 40, 55)
HSLhsl(352, 60%, 39%)
HSVhsv(352, 75%, 62%)
CMYKcmyk(0%, 74.7%, 65.2%, 38%)
CIE-LABlab(36.11, 48.86, 20.47)
CIE-LCHlch(36.11, 52.97, 22.73°)
OKLaboklab(46.82% 0.1452 0.049)
OKLCHoklch(46.82% 0.153 18.6)
XYZxyz(15.5506, 9.0648, 4.5445)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2837 #289E8F
analogous
#9E2872 #9E2837 #9E5428
triadic
#9E2837 #379E28 #28379E
tetradic
#9E2837 #729E28 #289E8F #54289E
square
#9E2837 #729E28 #289E8F #54289E
split-complementary
#9E2837 #289E54 #28729E
monochromatic
#3C0F15 #6D1C26 #9E2837 #CC374A #D96876

Accessibility & contrast

On white

7.47
#9E2837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9E2837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2837
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2837#FFFFFF#000000##FFFFFF
##9E28371.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494537
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2837;
/* rgb */ color: rgb(158, 40, 55);
/* oklch */ color: oklch(46.8% 0.153 18.6);
Tailwind
colors: {
  custom: {
    50: '#c26c6d',
    500: '#9e2837',
    950: '#000000',
  },
}
SCSS
$custom: #9e2837;
$custom-light: #c26c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2837",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 352.373,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.1532,
    "h": 18.6
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#9E2837
secondary
#63BFB3
accent
#E3CF45
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2837

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

Preview Lab → · Contrast checker → · Palette generator →

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