#9E2239#9E2239

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

Color values

HEX#9E2239
RGBrgb(158, 34, 57)
HSLhsl(349, 65%, 38%)
HSVhsv(349, 78%, 62%)
CMYKcmyk(0%, 78.5%, 63.9%, 38%)
CIE-LABlab(35.42, 51.01, 18.30)
CIE-LCHlch(35.42, 54.20, 19.74°)
OKLaboklab(46.33% 0.1525 0.0442)
OKLCHoklch(46.33% 0.159 16.2)
XYZxyz(15.4127, 8.7109, 4.7399)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2239 #229E87
analogous
#9E2277 #9E2239 #9E4922
triadic
#9E2239 #399E22 #22399E
tetradic
#9E2239 #779E22 #229E87 #49229E
square
#9E2239 #779E22 #229E87 #49229E
split-complementary
#9E2239 #229E49 #22779E
monochromatic
#390C15 #6C1727 #9E2239 #D02D4B #DC5E75

Accessibility & contrast

On white

7.66
#9E2239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2239
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2239#FFFFFF#000000##FFFFFF
##9E22391.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464339
Deuteranopia (green-blind)
#655D36
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2239;
/* rgb */ color: rgb(158, 34, 57);
/* oklch */ color: oklch(46.3% 0.159 16.2);
Tailwind
colors: {
  custom: {
    50: '#c2696f',
    500: '#9e2239',
    950: '#000000',
  },
}
SCSS
$custom: #9e2239;
$custom-light: #c2696f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2239",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 348.871,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46327,
    "c": 0.15876,
    "h": 16.2
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#9E2239
secondary
#5BC1AE
accent
#E8C940
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2239

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

Preview Lab → · Contrast checker → · Palette generator →

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