#9E1782#9E1782

#9E1782 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.196 H 338.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9E1782
RGBrgb(158, 23, 130)
HSLhsl(312, 75%, 35%)
HSVhsv(312, 85%, 62%)
CMYKcmyk(0%, 85.4%, 17.7%, 38%)
CIE-LABlab(36.92, 61.33, -26.07)
CIE-LCHlch(36.92, 66.64, 336.97°)
OKLaboklab(48.24% 0.1826 -0.0708)
OKLCHoklch(48.24% 0.196 338.8)
XYZxyz(18.4367, 9.4955, 21.9766)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1782 #179E33
analogous
#76179E #9E1782 #9E173F
triadic
#9E1782 #829E17 #17829E
tetradic
#9E1782 #9E7617 #179E33 #173F9E
square
#9E1782 #9E7617 #179E33 #173F9E
split-complementary
#9E1782 #3F9E17 #179E76
monochromatic
#33072A #690F56 #9E1782 #D31FAE #E54BC5

Accessibility & contrast

On white

7.24
#9E1782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9E1782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1782
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1782#FFFFFF#000000##FFFFFF
##9E17821.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A7204E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1782;
/* rgb */ color: rgb(158, 23, 130);
/* oklch */ color: oklch(48.2% 0.196 338.8);
Tailwind
colors: {
  custom: {
    50: '#bf68a6',
    500: '#9e1782',
    950: '#000000',
  },
}
SCSS
$custom: #9e1782;
$custom-light: #bf68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1782",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 312.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48239,
    "c": 0.19587,
    "h": 338.8
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#9E1782
secondary
#4AC664
accent
#F15D37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1782

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

Preview Lab → · Contrast checker → · Palette generator →

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