#9E175B#9E175B

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

Color values

HEX#9E175B
RGBrgb(158, 23, 91)
HSLhsl(330, 75%, 35%)
HSVhsv(330, 85%, 62%)
CMYKcmyk(0%, 85.4%, 42.4%, 38%)
CIE-LABlab(35.28, 56.74, -3.89)
CIE-LCHlch(35.28, 56.87, 356.07°)
OKLaboklab(46.52% 0.1748 -0.0095)
OKLCHoklch(46.52% 0.175 356.9)
XYZxyz(16.2965, 8.6394, 10.7049)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E175B #179E5A
analogous
#9D179E #9E175B #9E1717
triadic
#9E175B #5B9E17 #175B9E
tetradic
#9E175B #9E9D17 #179E5A #17179E
square
#9E175B #9E9D17 #179E5A #17179E
split-complementary
#9E175B #179E17 #179E9D
monochromatic
#33071D #690F3C #9E175B #D31F7A #E54B98

Accessibility & contrast

On white

7.70
#9E175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9E175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E175B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E175B#FFFFFF#000000##FFFFFF
##9E175B1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435D
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#AC0038
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e175b;
/* rgb */ color: rgb(158, 23, 91);
/* oklch */ color: oklch(46.5% 0.175 356.9);
Tailwind
colors: {
  custom: {
    50: '#c06789',
    500: '#9e175b',
    950: '#000000',
  },
}
SCSS
$custom: #9e175b;
$custom-light: #c06789;
$custom-dark: #000000;
JSON
{
  "hex": "#9e175b",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 329.778,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.17507,
    "h": 356.9
  },
  "luminance": 0.08637
}

Semantic roles & 50–950 ramp

primary
#9E175B
secondary
#4AC688
accent
#F19337
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E175B

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

Preview Lab → · Contrast checker → · Palette generator →

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