#9E1B54#9E1B54

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

Color values

HEX#9E1B54
RGBrgb(158, 27, 84)
HSLhsl(334, 71%, 36%)
HSVhsv(334, 83%, 62%)
CMYKcmyk(0%, 82.9%, 46.8%, 38%)
CIE-LABlab(35.39, 55.10, 0.79)
CIE-LCHlch(35.39, 55.11, 0.82°)
OKLaboklab(46.53% 0.1694 0.0026)
OKLCHoklch(46.53% 0.169 0.9)
XYZxyz(16.0941, 8.6953, 9.2167)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B54 #1B9E65
analogous
#9E1B96 #9E1B54 #9E241B
triadic
#9E1B54 #549E1B #1B549E
tetradic
#9E1B54 #969E1B #1B9E65 #241B9E
square
#9E1B54 #969E1B #1B9E65 #241B9E
split-complementary
#9E1B54 #1B9E24 #1B969E
monochromatic
#35091C #6A1238 #9E1B54 #D22470 #E15290

Accessibility & contrast

On white

7.67
#9E1B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B54
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B54#FFFFFF#000000##FFFFFF
##9E1B541.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1b54;
/* rgb */ color: rgb(158, 27, 84);
/* oklch */ color: oklch(46.5% 0.169 0.9);
Tailwind
colors: {
  custom: {
    50: '#c06883',
    500: '#9e1b54',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b54;
$custom-light: #c06883;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b54",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 333.893,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46525,
    "c": 0.16942,
    "h": 0.9
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#9E1B54
secondary
#51C492
accent
#EEA03A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1B54

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

Preview Lab → · Contrast checker → · Palette generator →

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