#9E1858#9E1858

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

Color values

HEX#9E1858
RGBrgb(158, 24, 88)
HSLhsl(331, 74%, 36%)
HSVhsv(331, 85%, 62%)
CMYKcmyk(0%, 84.8%, 44.3%, 38%)
CIE-LABlab(35.26, 56.22, -1.99)
CIE-LCHlch(35.26, 56.25, 357.98°)
OKLaboklab(46.47% 0.1731 -0.0045)
OKLCHoklch(46.47% 0.173 358.5)
XYZxyz(16.1899, 8.6292, 10.0437)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1858 #189E5E
analogous
#9E189B #9E1858 #9E1B18
triadic
#9E1858 #589E18 #18589E
tetradic
#9E1858 #9B9E18 #189E5E #1B189E
square
#9E1858 #9B9E18 #189E5E #1B189E
split-complementary
#9E1858 #189E1B #189B9E
monochromatic
#34081D #69103A #9E1858 #D32076 #E44D95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1858#FFFFFF#000000##FFFFFF
##9E18581.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#5E5C55
Tritanopia (blue-blind)
#AC0037
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1858;
/* rgb */ color: rgb(158, 24, 88);
/* oklch */ color: oklch(46.5% 0.173 358.5);
Tailwind
colors: {
  custom: {
    50: '#c06787',
    500: '#9e1858',
    950: '#000000',
  },
}
SCSS
$custom: #9e1858;
$custom-light: #c06787;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1858",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 331.343,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.17318,
    "h": 358.5
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#9E1858
secondary
#4CC68C
accent
#F09838
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1858

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

Preview Lab → · Contrast checker → · Palette generator →

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