#9E1954#9E1954

#9E1954 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.171 H 0.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9E1954
RGBrgb(158, 25, 84)
HSLhsl(333, 73%, 36%)
HSVhsv(333, 84%, 62%)
CMYKcmyk(0%, 84.2%, 46.8%, 38%)
CIE-LABlab(35.22, 55.61, 0.54)
CIE-LCHlch(35.22, 55.61, 0.55°)
OKLaboklab(46.4% 0.171 0.002)
OKLCHoklch(46.4% 0.171 0.7)
XYZxyz(16.0498, 8.6067, 9.2019)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1954 #199E63
analogous
#9E1996 #9E1954 #9E2019
triadic
#9E1954 #549E19 #19549E
tetradic
#9E1954 #969E19 #199E63 #20199E
square
#9E1954 #969E19 #199E63 #20199E
split-complementary
#9E1954 #199E20 #19969E
monochromatic
#34081C #691138 #9E1954 #D32170 #E34E90

Accessibility & contrast

On white

7.72
#9E1954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E1954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1954
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1954#FFFFFF#000000##FFFFFF
##9E19541.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1954;
/* rgb */ color: rgb(158, 25, 84);
/* oklch */ color: oklch(46.4% 0.171 0.7);
Tailwind
colors: {
  custom: {
    50: '#c06783',
    500: '#9e1954',
    950: '#000000',
  },
}
SCSS
$custom: #9e1954;
$custom-light: #c06783;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1954",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 333.383,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.17103,
    "h": 0.7
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#9E1954
secondary
#4EC590
accent
#EF9E38
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1954

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

Preview Lab → · Contrast checker → · Palette generator →

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