#9E1E56#9E1E56

#9E1E56 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.167 H 0.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9E1E56
RGBrgb(158, 30, 86)
HSLhsl(334, 68%, 37%)
HSVhsv(334, 81%, 62%)
CMYKcmyk(0%, 81%, 45.6%, 38%)
CIE-LABlab(35.74, 54.48, 0.00)
CIE-LCHlch(35.74, 54.48, 0.00°)
OKLaboklab(46.8% 0.1675 0.0006)
OKLCHoklch(46.8% 0.167 0.2)
XYZxyz(16.2459, 8.8717, 9.6592)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E56 #1E9E66
analogous
#9E1E96 #9E1E56 #9E261E
triadic
#9E1E56 #569E1E #1E569E
tetradic
#9E1E56 #969E1E #1E9E66 #261E9E
square
#9E1E56 #969E1E #1E9E66 #261E9E
split-complementary
#9E1E56 #1E9E26 #1E969E
monochromatic
#370A1E #6B143A #9E1E56 #D12872 #DF5793

Accessibility & contrast

On white

7.57
#9E1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9E1E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E56
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E56#FFFFFF#000000##FFFFFF
##9E1E561.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4457
Deuteranopia (green-blind)
#5F5D53
Tritanopia (blue-blind)
#AC0038
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1e56;
/* rgb */ color: rgb(158, 30, 86);
/* oklch */ color: oklch(46.8% 0.167 0.2);
Tailwind
colors: {
  custom: {
    50: '#c06985',
    500: '#9e1e56',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e56;
$custom-light: #c06985;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e56",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 333.75,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46798,
    "c": 0.16748,
    "h": 0.2
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#9E1E56
secondary
#55C393
accent
#EB9F3D
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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