#9E1966#9E1966

#9E1966 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.178 H 351.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9E1966
RGBrgb(158, 25, 102)
HSLhsl(325, 73%, 36%)
HSVhsv(325, 84%, 62%)
CMYKcmyk(0%, 84.2%, 35.4%, 38%)
CIE-LABlab(35.84, 57.42, -10.11)
CIE-LCHlch(35.84, 58.30, 350.01°)
OKLaboklab(47.06% 0.1764 -0.0262)
OKLCHoklch(47.06% 0.178 351.6)
XYZxyz(16.8475, 8.9258, 13.4035)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1966 #199E51
analogous
#93199E #9E1966 #9E1923
triadic
#9E1966 #669E19 #19669E
tetradic
#9E1966 #9E9319 #199E51 #19239E
square
#9E1966 #9E9319 #199E51 #19239E
split-complementary
#9E1966 #239E19 #199E93
monochromatic
#340822 #691144 #9E1966 #D32188 #E34EA4

Accessibility & contrast

On white

7.54
#9E1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9E1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1966
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1966#FFFFFF#000000##FFFFFF
##9E19661.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354568
Deuteranopia (green-blind)
#5B5D63
Tritanopia (blue-blind)
#AB063E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1966;
/* rgb */ color: rgb(158, 25, 102);
/* oklch */ color: oklch(47.1% 0.178 351.6);
Tailwind
colors: {
  custom: {
    50: '#c06891',
    500: '#9e1966',
    950: '#000000',
  },
}
SCSS
$custom: #9e1966;
$custom-light: #c06891;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1966",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 325.263,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47057,
    "c": 0.17835,
    "h": 351.6
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#9E1966
secondary
#4EC580
accent
#EF8538
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1966

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

Preview Lab → · Contrast checker → · Palette generator →

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