#9E1857#9E1857

#9E1857 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.173 H 359.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9E1857
RGBrgb(158, 24, 87)
HSLhsl(332, 74%, 36%)
HSVhsv(332, 85%, 62%)
CMYKcmyk(0%, 84.8%, 44.9%, 38%)
CIE-LABlab(35.23, 56.12, -1.39)
CIE-LCHlch(35.23, 56.14, 358.58°)
OKLaboklab(46.44% 0.1728 -0.003)
OKLCHoklch(46.44% 0.173 359)
XYZxyz(16.1488, 8.6127, 9.8270)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1857 #189E5F
analogous
#9E189A #9E1857 #9E1C18
triadic
#9E1857 #579E18 #18579E
tetradic
#9E1857 #9A9E18 #189E5F #1C189E
square
#9E1857 #9A9E18 #189E5F #1C189E
split-complementary
#9E1857 #189E1C #189A9E
monochromatic
#34081C #69103A #9E1857 #D32074 #E44D94

Accessibility & contrast

On white

7.71
#9E1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1857
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1857#FFFFFF#000000##FFFFFF
##9E18571.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#5E5C54
Tritanopia (blue-blind)
#AC0036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1857;
/* rgb */ color: rgb(158, 24, 87);
/* oklch */ color: oklch(46.4% 0.173 359.0);
Tailwind
colors: {
  custom: {
    50: '#c06786',
    500: '#9e1857',
    950: '#000000',
  },
}
SCSS
$custom: #9e1857;
$custom-light: #c06786;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1857",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 331.791,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.17282,
    "h": 359
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#9E1857
secondary
#4CC68D
accent
#F09938
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1857

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

Preview Lab → · Contrast checker → · Palette generator →

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