#9D185E#9D185E

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

Color values

HEX#9D185E
RGBrgb(157, 24, 94)
HSLhsl(328, 73%, 35%)
HSVhsv(328, 85%, 62%)
CMYKcmyk(0%, 84.7%, 40.1%, 38.4%)
CIE-LABlab(35.27, 56.55, -5.87)
CIE-LCHlch(35.27, 56.86, 354.08°)
OKLaboklab(46.51% 0.1742 -0.0148)
OKLCHoklch(46.51% 0.175 355.2)
XYZxyz(16.2528, 8.6317, 11.3977)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D185E #189D57
analogous
#99189D #9D185E #9D181B
triadic
#9D185E #5E9D18 #185E9D
tetradic
#9D185E #9D9918 #189D57 #181B9D
square
#9D185E #9D9918 #189D57 #181B9D
split-complementary
#9D185E #1B9D18 #189D99
monochromatic
#33081E #68103E #9D185E #D2207E #E44C9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D185E#FFFFFF#000000##FFFFFF
##9D185E1.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)
#374360
Deuteranopia (green-blind)
#5C5C5B
Tritanopia (blue-blind)
#AA003A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d185e;
/* rgb */ color: rgb(157, 24, 94);
/* oklch */ color: oklch(46.5% 0.175 355.2);
Tailwind
colors: {
  custom: {
    50: '#bf678b',
    500: '#9d185e',
    950: '#000000',
  },
}
SCSS
$custom: #9d185e;
$custom-light: #bf678b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d185e",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 328.421,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46506,
    "c": 0.17481,
    "h": 355.2
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#9D185E
secondary
#4BC585
accent
#F08F38
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D185E

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

Preview Lab → · Contrast checker → · Palette generator →

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