#9E1B56#9E1B56

#9E1B56 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.170 H 359.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9E1B56
RGBrgb(158, 27, 86)
HSLhsl(333, 71%, 36%)
HSVhsv(333, 83%, 62%)
CMYKcmyk(0%, 82.9%, 45.6%, 38%)
CIE-LABlab(35.45, 55.29, -0.41)
CIE-LCHlch(35.45, 55.29, 359.57°)
OKLaboklab(46.59% 0.1701 -0.0004)
OKLCHoklch(46.59% 0.17 359.8)
XYZxyz(16.1735, 8.7271, 9.6351)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B56 #1B9E63
analogous
#9E1B98 #9E1B56 #9E221B
triadic
#9E1B56 #569E1B #1B569E
tetradic
#9E1B56 #989E1B #1B9E63 #221B9E
square
#9E1B56 #989E1B #1B9E63 #221B9E
split-complementary
#9E1B56 #1B9E22 #1B989E
monochromatic
#35091D #6A123A #9E1B56 #D22472 #E15293

Accessibility & contrast

On white

7.65
#9E1B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E1B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B56
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B56#FFFFFF#000000##FFFFFF
##9E1B561.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1b56;
/* rgb */ color: rgb(158, 27, 86);
/* oklch */ color: oklch(46.6% 0.170 359.8);
Tailwind
colors: {
  custom: {
    50: '#c06885',
    500: '#9e1b56',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b56;
$custom-light: #c06885;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b56",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 332.977,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46591,
    "c": 0.17008,
    "h": 359.8
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#9E1B56
secondary
#51C490
accent
#EE9D3A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1B56

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

Preview Lab → · Contrast checker → · Palette generator →

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