#9D1A5E#9D1A5E

#9D1A5E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.173 H 355.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9D1A5E
RGBrgb(157, 26, 94)
HSLhsl(329, 72%, 36%)
HSVhsv(329, 83%, 62%)
CMYKcmyk(0%, 83.4%, 40.1%, 38.4%)
CIE-LABlab(35.43, 56.07, -5.62)
CIE-LCHlch(35.43, 56.35, 354.28°)
OKLaboklab(46.63% 0.1726 -0.0141)
OKLCHoklch(46.63% 0.173 355.3)
XYZxyz(16.2956, 8.7172, 11.4120)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A5E #1A9D59
analogous
#9A1A9D #9D1A5E #9D1A1C
triadic
#9D1A5E #5E9D1A #1A5E9D
tetradic
#9D1A5E #9D9A1A #1A9D59 #1A1C9D
square
#9D1A5E #9D9A1A #1A9D59 #1A1C9D
split-complementary
#9D1A5E #1C9D1A #1A9D9A
monochromatic
#34091F #68113F #9D1A5E #D2237D #E24F9B

Accessibility & contrast

On white

7.66
#9D1A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9D1A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A5E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A5E#FFFFFF#000000##FFFFFF
##9D1A5E1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1a5e;
/* rgb */ color: rgb(157, 26, 94);
/* oklch */ color: oklch(46.6% 0.173 355.3);
Tailwind
colors: {
  custom: {
    50: '#bf678b',
    500: '#9d1a5e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a5e;
$custom-light: #bf678b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a5e",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 328.855,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.1732,
    "h": 355.3
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#9D1A5E
secondary
#4EC487
accent
#EE9039
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D1A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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