#9E2139#9E2139

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

Color values

HEX#9E2139
RGBrgb(158, 33, 57)
HSLhsl(348, 65%, 37%)
HSVhsv(348, 79%, 62%)
CMYKcmyk(0%, 79.1%, 63.9%, 38%)
CIE-LABlab(35.31, 51.33, 18.16)
CIE-LCHlch(35.31, 54.44, 19.48°)
OKLaboklab(46.25% 0.1535 0.0439)
OKLCHoklch(46.25% 0.16 16)
XYZxyz(15.3846, 8.6545, 4.7305)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2139 #219E86
analogous
#9E2178 #9E2139 #9E4821
triadic
#9E2139 #399E21 #21399E
tetradic
#9E2139 #789E21 #219E86 #48219E
square
#9E2139 #789E21 #219E86 #48219E
split-complementary
#9E2139 #219E48 #21789E
monochromatic
#390C14 #6B1627 #9E2139 #D12C4B #DD5C75

Accessibility & contrast

On white

7.69
#9E2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9E2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2139
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2139#FFFFFF#000000##FFFFFF
##9E21391.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2139;
/* rgb */ color: rgb(158, 33, 57);
/* oklch */ color: oklch(46.2% 0.160 16.0);
Tailwind
colors: {
  custom: {
    50: '#c2696f',
    500: '#9e2139',
    950: '#000000',
  },
}
SCSS
$custom: #9e2139;
$custom-light: #c2696f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2139",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 348.48,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.15963,
    "h": 16
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#9E2139
secondary
#59C1AD
accent
#E8C83F
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2139

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

Preview Lab → · Contrast checker → · Palette generator →

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