#9E2236#9E2236

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

Color values

HEX#9E2236
RGBrgb(158, 34, 54)
HSLhsl(350, 65%, 38%)
HSVhsv(350, 78%, 62%)
CMYKcmyk(0%, 78.5%, 65.8%, 38%)
CIE-LABlab(35.36, 50.83, 20.15)
CIE-LCHlch(35.36, 54.68, 21.62°)
OKLaboklab(46.27% 0.1513 0.0481)
OKLCHoklch(46.27% 0.159 17.7)
XYZxyz(15.3401, 8.6818, 4.3573)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2236 #229E8A
analogous
#9E2274 #9E2236 #9E4C22
triadic
#9E2236 #369E22 #22369E
tetradic
#9E2236 #749E22 #229E8A #4C229E
square
#9E2236 #749E22 #229E8A #4C229E
split-complementary
#9E2236 #229E4C #22749E
monochromatic
#390C14 #6C1725 #9E2236 #D02D47 #DC5E72

Accessibility & contrast

On white

7.68
#9E2236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2236
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2236#FFFFFF#000000##FFFFFF
##9E22361.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464336
Deuteranopia (green-blind)
#655D32
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2236;
/* rgb */ color: rgb(158, 34, 54);
/* oklch */ color: oklch(46.3% 0.159 17.7);
Tailwind
colors: {
  custom: {
    50: '#c2696c',
    500: '#9e2236',
    950: '#000000',
  },
}
SCSS
$custom: #9e2236;
$custom-light: #c2696c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2236",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 350.323,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46266,
    "c": 0.15875,
    "h": 17.7
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#9E2236
secondary
#5BC1B1
accent
#E8CD40
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2236

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

Preview Lab → · Contrast checker → · Palette generator →

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