#9D185F#9D185F

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

Color values

HEX#9D185F
RGBrgb(157, 24, 95)
HSLhsl(328, 73%, 35%)
HSVhsv(328, 85%, 62%)
CMYKcmyk(0%, 84.7%, 39.5%, 38.4%)
CIE-LABlab(35.30, 56.66, -6.46)
CIE-LCHlch(35.30, 57.02, 353.50°)
OKLaboklab(46.54% 0.1745 -0.0163)
OKLCHoklch(46.54% 0.175 354.6)
XYZxyz(16.2980, 8.6497, 11.6356)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D185F #189D56
analogous
#98189D #9D185F #9D181C
triadic
#9D185F #5F9D18 #185F9D
tetradic
#9D185F #9D9818 #189D56 #181C9D
square
#9D185F #9D9818 #189D56 #181C9D
split-complementary
#9D185F #1C9D18 #189D98
monochromatic
#33081F #68103F #9D185F #D2207F #E44C9D

Accessibility & contrast

On white

7.69
#9D185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D185F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D185F#FFFFFF#000000##FFFFFF
##9D185F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364461
Deuteranopia (green-blind)
#5B5C5C
Tritanopia (blue-blind)
#AA003A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d185f;
/* rgb */ color: rgb(157, 24, 95);
/* oklch */ color: oklch(46.5% 0.175 354.6);
Tailwind
colors: {
  custom: {
    50: '#bf678c',
    500: '#9d185f',
    950: '#000000',
  },
}
SCSS
$custom: #9d185f;
$custom-light: #bf678c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d185f",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 327.97,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46544,
    "c": 0.17523,
    "h": 354.6
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#9D185F
secondary
#4BC584
accent
#F08E38
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D185F

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

Preview Lab → · Contrast checker → · Palette generator →

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