#9E1A54#9E1A54

#9E1A54 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.170 H 0.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9E1A54
RGBrgb(158, 26, 84)
HSLhsl(334, 72%, 36%)
HSVhsv(334, 84%, 62%)
CMYKcmyk(0%, 83.5%, 46.8%, 38%)
CIE-LABlab(35.30, 55.36, 0.66)
CIE-LCHlch(35.30, 55.36, 0.68°)
OKLaboklab(46.46% 0.1702 0.0023)
OKLCHoklch(46.46% 0.17 0.8)
XYZxyz(16.0715, 8.6502, 9.2092)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A54 #1A9E64
analogous
#9E1A96 #9E1A54 #9E221A
triadic
#9E1A54 #549E1A #1A549E
tetradic
#9E1A54 #969E1A #1A9E64 #221A9E
square
#9E1A54 #969E1A #1A9E64 #221A9E
split-complementary
#9E1A54 #1A9E22 #1A969E
monochromatic
#35091C #691138 #9E1A54 #D32370 #E25090

Accessibility & contrast

On white

7.69
#9E1A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9E1A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A54
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A54#FFFFFF#000000##FFFFFF
##9E1A541.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.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: #9e1a54;
/* rgb */ color: rgb(158, 26, 84);
/* oklch */ color: oklch(46.5% 0.170 0.8);
Tailwind
colors: {
  custom: {
    50: '#c06783',
    500: '#9e1a54',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a54;
$custom-light: #c06783;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a54",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 333.636,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4646,
    "c": 0.17024,
    "h": 0.8
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#9E1A54
secondary
#4FC591
accent
#EE9F39
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1A54

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

Preview Lab → · Contrast checker → · Palette generator →

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