#9E2039#9E2039

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

Color values

HEX#9E2039
RGBrgb(158, 32, 57)
HSLhsl(348, 66%, 37%)
HSVhsv(348, 80%, 62%)
CMYKcmyk(0%, 79.7%, 63.9%, 38%)
CIE-LABlab(35.20, 51.63, 18.02)
CIE-LCHlch(35.20, 54.68, 19.24°)
OKLaboklab(46.17% 0.1545 0.0436)
OKLCHoklch(46.17% 0.16 15.7)
XYZxyz(15.3572, 8.5999, 4.7214)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2039 #209E85
analogous
#9E2078 #9E2039 #9E4620
triadic
#9E2039 #399E20 #20399E
tetradic
#9E2039 #789E20 #209E85 #46209E
square
#9E2039 #789E20 #209E85 #46209E
split-complementary
#9E2039 #209E46 #20789E
monochromatic
#380B14 #6B1627 #9E2039 #D12A4B #DE5B75

Accessibility & contrast

On white

7.72
#9E2039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2039
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2039#FFFFFF#000000##FFFFFF
##9E20391.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454239
Deuteranopia (green-blind)
#645C35
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2039;
/* rgb */ color: rgb(158, 32, 57);
/* oklch */ color: oklch(46.2% 0.160 15.7);
Tailwind
colors: {
  custom: {
    50: '#c2686f',
    500: '#9e2039',
    950: '#000000',
  },
}
SCSS
$custom: #9e2039;
$custom-light: #c2686f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2039",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 57
  },
  "hsl": {
    "h": 348.095,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.16049,
    "h": 15.7
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#9E2039
secondary
#58C2AD
accent
#E9C73F
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2039

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

Preview Lab → · Contrast checker → · Palette generator →

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