#9E175A#9E175A

#9E175A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.175 H 357.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9E175A
RGBrgb(158, 23, 90)
HSLhsl(330, 75%, 35%)
HSVhsv(330, 85%, 62%)
CMYKcmyk(0%, 85.4%, 43%, 38%)
CIE-LABlab(35.25, 56.64, -3.30)
CIE-LCHlch(35.25, 56.73, 356.67°)
OKLaboklab(46.48% 0.1745 -0.008)
OKLCHoklch(46.48% 0.175 357.4)
XYZxyz(16.2537, 8.6223, 10.4793)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E175A #179E5B
analogous
#9E179D #9E175A #9E1717
triadic
#9E175A #5A9E17 #175A9E
tetradic
#9E175A #9D9E17 #179E5B #17179E
square
#9E175A #9D9E17 #179E5B #17179E
split-complementary
#9E175A #179E17 #179D9E
monochromatic
#33071D #690F3C #9E175A #D31F78 #E54B97

Accessibility & contrast

On white

7.71
#9E175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E175A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E175A#FFFFFF#000000##FFFFFF
##9E175A1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435C
Deuteranopia (green-blind)
#5D5C57
Tritanopia (blue-blind)
#AC0037
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e175a;
/* rgb */ color: rgb(158, 23, 90);
/* oklch */ color: oklch(46.5% 0.175 357.4);
Tailwind
colors: {
  custom: {
    50: '#c06788',
    500: '#9e175a',
    950: '#000000',
  },
}
SCSS
$custom: #9e175a;
$custom-light: #c06788;
$custom-dark: #000000;
JSON
{
  "hex": "#9e175a",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 330.222,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46483,
    "c": 0.17468,
    "h": 357.4
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#9E175A
secondary
#4AC689
accent
#F19537
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E175A

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

Preview Lab → · Contrast checker → · Palette generator →

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