#9E1780#9E1780

#9E1780 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.195 H 339.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9E1780
RGBrgb(158, 23, 128)
HSLhsl(313, 75%, 35%)
HSVhsv(313, 85%, 62%)
CMYKcmyk(0%, 85.4%, 19%, 38%)
CIE-LABlab(36.82, 61.06, -24.99)
CIE-LCHlch(36.82, 65.97, 337.74°)
OKLaboklab(48.14% 0.1825 -0.0677)
OKLCHoklch(48.14% 0.195 339.6)
XYZxyz(18.3038, 9.4423, 21.2765)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1780 #179E35
analogous
#78179E #9E1780 #9E173D
triadic
#9E1780 #809E17 #17809E
tetradic
#9E1780 #9E7817 #179E35 #173D9E
square
#9E1780 #9E7817 #179E35 #173D9E
split-complementary
#9E1780 #3D9E17 #179E78
monochromatic
#330729 #690F55 #9E1780 #D31FAB #E54BC3

Accessibility & contrast

On white

7.27
#9E1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E1780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1780
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1780#FFFFFF#000000##FFFFFF
##9E17801.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234983
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#A81E4C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1780;
/* rgb */ color: rgb(158, 23, 128);
/* oklch */ color: oklch(48.1% 0.195 339.6);
Tailwind
colors: {
  custom: {
    50: '#bf68a5',
    500: '#9e1780',
    950: '#000000',
  },
}
SCSS
$custom: #9e1780;
$custom-light: #bf68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1780",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 313.333,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.1946,
    "h": 339.6
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#9E1780
secondary
#4AC666
accent
#F16037
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1780

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

Preview Lab → · Contrast checker → · Palette generator →

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