#9E1770#9E1770

#9E1770 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.185 H 346.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9E1770
RGBrgb(158, 23, 112)
HSLhsl(320, 75%, 35%)
HSVhsv(320, 85%, 62%)
CMYKcmyk(0%, 85.4%, 29.1%, 38%)
CIE-LABlab(36.09, 59.02, -16.09)
CIE-LCHlch(36.09, 61.17, 344.75°)
OKLaboklab(47.37% 0.1801 -0.0426)
OKLCHoklch(47.37% 0.185 346.7)
XYZxyz(17.3325, 9.0538, 16.1609)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1770 #179E45
analogous
#88179E #9E1770 #9E172D
triadic
#9E1770 #709E17 #17709E
tetradic
#9E1770 #9E8817 #179E45 #172D9E
square
#9E1770 #9E8817 #179E45 #172D9E
split-complementary
#9E1770 #2D9E17 #179E88
monochromatic
#330724 #690F4A #9E1770 #D31F96 #E54BB0

Accessibility & contrast

On white

7.47
#9E1770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9E1770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1770
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1770#FFFFFF#000000##FFFFFF
##9E17701.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4672
Deuteranopia (green-blind)
#575D6D
Tritanopia (blue-blind)
#AA1043
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1770;
/* rgb */ color: rgb(158, 23, 112);
/* oklch */ color: oklch(47.4% 0.185 346.7);
Tailwind
colors: {
  custom: {
    50: '#bf6799',
    500: '#9e1770',
    950: '#000000',
  },
}
SCSS
$custom: #9e1770;
$custom-light: #bf6799;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1770",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 320.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47368,
    "c": 0.18508,
    "h": 346.7
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#9E1770
secondary
#4AC675
accent
#F17637
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1770

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

Preview Lab → · Contrast checker → · Palette generator →

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