#9E1A56#9E1A56

#9E1A56 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.171 H 359.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9E1A56
RGBrgb(158, 26, 86)
HSLhsl(333, 72%, 36%)
HSVhsv(333, 84%, 62%)
CMYKcmyk(0%, 83.5%, 45.6%, 38%)
CIE-LABlab(35.36, 55.54, -0.54)
CIE-LCHlch(35.36, 55.55, 359.44°)
OKLaboklab(46.53% 0.1709 -0.0008)
OKLCHoklch(46.53% 0.171 359.7)
XYZxyz(16.1510, 8.6820, 9.6276)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A56 #1A9E62
analogous
#9E1A98 #9E1A56 #9E201A
triadic
#9E1A56 #569E1A #1A569E
tetradic
#9E1A56 #989E1A #1A9E62 #201A9E
square
#9E1A56 #989E1A #1A9E62 #201A9E
split-complementary
#9E1A56 #1A9E20 #1A989E
monochromatic
#35091D #691139 #9E1A56 #D32373 #E25093

Accessibility & contrast

On white

7.68
#9E1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A56
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A56#FFFFFF#000000##FFFFFF
##9E1A561.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1a56;
/* rgb */ color: rgb(158, 26, 86);
/* oklch */ color: oklch(46.5% 0.171 359.7);
Tailwind
colors: {
  custom: {
    50: '#c06785',
    500: '#9e1a56',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a56;
$custom-light: #c06785;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a56",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 332.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.1709,
    "h": 359.7
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#9E1A56
secondary
#4FC58F
accent
#EE9C39
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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