#9E1978#9E1978

#9E1978 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.188 H 343.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9E1978
RGBrgb(158, 25, 120)
HSLhsl(317, 73%, 36%)
HSVhsv(317, 84%, 62%)
CMYKcmyk(0%, 84.2%, 24.1%, 38%)
CIE-LABlab(36.60, 59.56, -20.34)
CIE-LCHlch(36.60, 62.94, 341.15°)
OKLaboklab(47.85% 0.1801 -0.0545)
OKLCHoklch(47.85% 0.188 343.2)
XYZxyz(17.8391, 9.3224, 18.6256)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1978 #199E3F
analogous
#81199E #9E1978 #9E1935
triadic
#9E1978 #789E19 #19789E
tetradic
#9E1978 #9E8119 #199E3F #19359E
square
#9E1978 #9E8119 #199E3F #19359E
split-complementary
#9E1978 #359E19 #199E81
monochromatic
#340828 #691150 #9E1978 #D321A0 #E34EB9

Accessibility & contrast

On white

7.33
#9E1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9E1978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1978
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1978#FFFFFF#000000##FFFFFF
##9E19781.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B487A
Deuteranopia (green-blind)
#555E75
Tritanopia (blue-blind)
#A91948
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1978;
/* rgb */ color: rgb(158, 25, 120);
/* oklch */ color: oklch(47.9% 0.188 343.2);
Tailwind
colors: {
  custom: {
    50: '#bf689f',
    500: '#9e1978',
    950: '#000000',
  },
}
SCSS
$custom: #9e1978;
$custom-light: #bf689f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1978",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 317.143,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.18814,
    "h": 343.2
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#9E1978
secondary
#4EC570
accent
#EF6D38
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1978

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

Preview Lab → · Contrast checker → · Palette generator →

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