#9E1C54#9E1C54

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

Color values

HEX#9E1C54
RGBrgb(158, 28, 84)
HSLhsl(334, 70%, 36%)
HSVhsv(334, 82%, 62%)
CMYKcmyk(0%, 82.3%, 46.8%, 38%)
CIE-LABlab(35.48, 54.84, 0.92)
CIE-LCHlch(35.48, 54.85, 0.96°)
OKLaboklab(46.59% 0.1686 0.003)
OKLCHoklch(46.59% 0.169 1)
XYZxyz(16.1174, 8.7419, 9.2244)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C54 #1C9E66
analogous
#9E1C95 #9E1C54 #9E251C
triadic
#9E1C54 #549E1C #1C549E
tetradic
#9E1C54 #959E1C #1C9E66 #251C9E
square
#9E1C54 #959E1C #1C9E66 #251C9E
split-complementary
#9E1C54 #1C9E25 #1C959E
monochromatic
#360A1D #6A1338 #9E1C54 #D22570 #E15490

Accessibility & contrast

On white

7.64
#9E1C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E1C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1C54
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C54#FFFFFF#000000##FFFFFF
##9E1C541.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1c54;
/* rgb */ color: rgb(158, 28, 84);
/* oklch */ color: oklch(46.6% 0.169 1.0);
Tailwind
colors: {
  custom: {
    50: '#c06883',
    500: '#9e1c54',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c54;
$custom-light: #c06883;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c54",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 334.154,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.16859,
    "h": 1
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#9E1C54
secondary
#52C493
accent
#EDA03B
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1C54

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

Preview Lab → · Contrast checker → · Palette generator →

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