#9D1A52#9D1A52

#9D1A52 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.169 H 1.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9D1A52
RGBrgb(157, 26, 82)
HSLhsl(334, 72%, 36%)
HSVhsv(334, 83%, 62%)
CMYKcmyk(0%, 83.4%, 47.8%, 38.4%)
CIE-LABlab(35.04, 54.91, 1.55)
CIE-LCHlch(35.04, 54.94, 1.62°)
OKLaboklab(46.21% 0.1687 0.0046)
OKLCHoklch(46.21% 0.169 1.6)
XYZxyz(15.7984, 8.5183, 8.7933)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A52 #1A9D65
analogous
#9D1A93 #9D1A52 #9D231A
triadic
#9D1A52 #529D1A #1A529D
tetradic
#9D1A52 #939D1A #1A9D65 #231A9D
square
#9D1A52 #939D1A #1A9D65 #231A9D
split-complementary
#9D1A52 #1A9D23 #1A939D
monochromatic
#34091B #681137 #9D1A52 #D2236D #E24F8E

Accessibility & contrast

On white

7.77
#9D1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D1A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A52
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A52#FFFFFF#000000##FFFFFF
##9D1A521.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#5F5B4F
Tritanopia (blue-blind)
#AB0034
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1a52;
/* rgb */ color: rgb(157, 26, 82);
/* oklch */ color: oklch(46.2% 0.169 1.6);
Tailwind
colors: {
  custom: {
    50: '#c06782',
    500: '#9d1a52',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a52;
$custom-light: #c06782;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a52",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 334.351,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.1688,
    "h": 1.6
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#9D1A52
secondary
#4EC492
accent
#EEA139
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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