#9E2838#9E2838

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

Color values

HEX#9E2838
RGBrgb(158, 40, 56)
HSLhsl(352, 60%, 39%)
HSVhsv(352, 75%, 62%)
CMYKcmyk(0%, 74.7%, 64.6%, 38%)
CIE-LABlab(36.13, 48.92, 19.86)
CIE-LCHlch(36.13, 52.80, 22.09°)
OKLaboklab(46.84% 0.1456 0.0477)
OKLCHoklch(46.84% 0.153 18.1)
XYZxyz(15.5748, 9.0745, 4.6721)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2838 #289E8E
analogous
#9E2873 #9E2838 #9E5328
triadic
#9E2838 #389E28 #28389E
tetradic
#9E2838 #739E28 #289E8E #53289E
square
#9E2838 #739E28 #289E8E #53289E
split-complementary
#9E2838 #289E53 #28739E
monochromatic
#3C0F15 #6D1C27 #9E2838 #CC374B #D96877

Accessibility & contrast

On white

7.46
#9E2838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2838
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2838#FFFFFF#000000##FFFFFF
##9E28381.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2838;
/* rgb */ color: rgb(158, 40, 56);
/* oklch */ color: oklch(46.8% 0.153 18.1);
Tailwind
colors: {
  custom: {
    50: '#c26c6e',
    500: '#9e2838',
    950: '#000000',
  },
}
SCSS
$custom: #9e2838;
$custom-light: #c26c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2838",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 351.864,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.15318,
    "h": 18.1
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#9E2838
secondary
#63BFB2
accent
#E3CD45
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2838

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

Preview Lab → · Contrast checker → · Palette generator →

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