#9E1783#9E1783

#9E1783 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.3% C 0.197 H 338.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E1783
RGBrgb(158, 23, 131)
HSLhsl(312, 75%, 35%)
HSVhsv(312, 85%, 62%)
CMYKcmyk(0%, 85.4%, 17.1%, 38%)
CIE-LABlab(36.97, 61.46, -26.62)
CIE-LCHlch(36.97, 66.98, 336.59°)
OKLaboklab(48.29% 0.1827 -0.0723)
OKLCHoklch(48.29% 0.197 338.4)
XYZxyz(18.5042, 9.5225, 22.3318)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1783 #179E32
analogous
#75179E #9E1783 #9E173F
triadic
#9E1783 #839E17 #17839E
tetradic
#9E1783 #9E7517 #179E32 #173F9E
square
#9E1783 #9E7517 #179E32 #173F9E
split-complementary
#9E1783 #3F9E17 #179E75
monochromatic
#33072A #690F57 #9E1783 #D31FAF #E54BC6

Accessibility & contrast

On white

7.23
#9E1783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1783
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1783#FFFFFF#000000##FFFFFF
##9E17831.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#A7204E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1783;
/* rgb */ color: rgb(158, 23, 131);
/* oklch */ color: oklch(48.3% 0.197 338.4);
Tailwind
colors: {
  custom: {
    50: '#bf68a7',
    500: '#9e1783',
    950: '#000000',
  },
}
SCSS
$custom: #9e1783;
$custom-light: #bf68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1783",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 312,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48291,
    "c": 0.19652,
    "h": 338.4
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#9E1783
secondary
#4AC663
accent
#F15C37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1783

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

Preview Lab → · Contrast checker → · Palette generator →

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