#9D185C#9D185C

#9D185C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.174 H 356.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9D185C
RGBrgb(157, 24, 92)
HSLhsl(329, 73%, 35%)
HSVhsv(329, 85%, 62%)
CMYKcmyk(0%, 84.7%, 41.4%, 38.4%)
CIE-LABlab(35.19, 56.35, -4.69)
CIE-LCHlch(35.19, 56.55, 355.25°)
OKLaboklab(46.43% 0.1736 -0.0116)
OKLCHoklch(46.43% 0.174 356.2)
XYZxyz(16.1642, 8.5962, 10.9312)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D185C #189D59
analogous
#9B189D #9D185C #9D181A
triadic
#9D185C #5C9D18 #185C9D
tetradic
#9D185C #9D9B18 #189D59 #181A9D
square
#9D185C #9D9B18 #189D59 #181A9D
split-complementary
#9D185C #1A9D18 #189D9B
monochromatic
#33081E #68103D #9D185C #D2207B #E44C99

Accessibility & contrast

On white

7.72
#9D185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D185C
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D185C#FFFFFF#000000##FFFFFF
##9D185C1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435E
Deuteranopia (green-blind)
#5C5B59
Tritanopia (blue-blind)
#AA0039
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d185c;
/* rgb */ color: rgb(157, 24, 92);
/* oklch */ color: oklch(46.4% 0.174 356.2);
Tailwind
colors: {
  custom: {
    50: '#bf678a',
    500: '#9d185c',
    950: '#000000',
  },
}
SCSS
$custom: #9d185c;
$custom-light: #bf678a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d185c",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 329.323,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.17397,
    "h": 356.2
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#9D185C
secondary
#4BC587
accent
#F09238
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D185C

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

Preview Lab → · Contrast checker → · Palette generator →

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