#9E1E42#9E1E42

#9E1E42 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.163 H 10.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9E1E42
RGBrgb(158, 30, 66)
HSLhsl(343, 68%, 37%)
HSVhsv(343, 81%, 62%)
CMYKcmyk(0%, 81%, 58.2%, 38%)
CIE-LABlab(35.19, 52.82, 12.18)
CIE-LCHlch(35.19, 54.21, 12.98°)
OKLaboklab(46.22% 0.16 0.0305)
OKLCHoklch(46.22% 0.163 10.8)
XYZxyz(15.5497, 8.5933, 5.9931)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E42 #1E9E7A
analogous
#9E1E82 #9E1E42 #9E3A1E
triadic
#9E1E42 #429E1E #1E429E
tetradic
#9E1E42 #829E1E #1E9E7A #3A1E9E
square
#9E1E42 #829E1E #1E9E7A #3A1E9E
split-complementary
#9E1E42 #1E9E3A #1E829E
monochromatic
#370A17 #6B142D #9E1E42 #D12857 #DF577D

Accessibility & contrast

On white

7.73
#9E1E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1E42
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E42#FFFFFF#000000##FFFFFF
##9E1E421.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424243
Deuteranopia (green-blind)
#635C3F
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1e42;
/* rgb */ color: rgb(158, 30, 66);
/* oklch */ color: oklch(46.2% 0.163 10.8);
Tailwind
colors: {
  custom: {
    50: '#c16876',
    500: '#9e1e42',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e42;
$custom-light: #c16876;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e42",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 66
  },
  "hsl": {
    "h": 343.125,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.16287,
    "h": 10.8
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#9E1E42
secondary
#55C3A4
accent
#EBBA3D
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1E42

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

Preview Lab → · Contrast checker → · Palette generator →

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