#9E1951#9E1951

#9E1951 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.170 H 2.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9E1951
RGBrgb(158, 25, 81)
HSLhsl(335, 73%, 36%)
HSVhsv(335, 84%, 62%)
CMYKcmyk(0%, 84.2%, 48.7%, 38%)
CIE-LABlab(35.12, 55.34, 2.35)
CIE-LCHlch(35.12, 55.39, 2.43°)
OKLaboklab(46.3% 0.17 0.0066)
OKLCHoklch(46.3% 0.17 2.2)
XYZxyz(15.9348, 8.5607, 8.5963)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1951 #199E66
analogous
#9E1993 #9E1951 #9E2319
triadic
#9E1951 #519E19 #19519E
tetradic
#9E1951 #939E19 #199E66 #23199E
square
#9E1951 #939E19 #199E66 #23199E
split-complementary
#9E1951 #199E23 #19939E
monochromatic
#34081B #691136 #9E1951 #D3216C #E34E8D

Accessibility & contrast

On white

7.74
#9E1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E1951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1951
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1951#FFFFFF#000000##FFFFFF
##9E19511.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#5F5C4E
Tritanopia (blue-blind)
#AC0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1951;
/* rgb */ color: rgb(158, 25, 81);
/* oklch */ color: oklch(46.3% 0.170 2.2);
Tailwind
colors: {
  custom: {
    50: '#c16781',
    500: '#9e1951',
    950: '#000000',
  },
}
SCSS
$custom: #9e1951;
$custom-light: #c16781;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1951",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 334.737,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.463,
    "c": 0.1701,
    "h": 2.2
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#9E1951
secondary
#4EC593
accent
#EFA238
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1951

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

Preview Lab → · Contrast checker → · Palette generator →

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