#9D1E52#9D1E52

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

Color values

HEX#9D1E52
RGBrgb(157, 30, 82)
HSLhsl(335, 68%, 37%)
HSVhsv(335, 81%, 62%)
CMYKcmyk(0%, 80.9%, 47.8%, 38.4%)
CIE-LABlab(35.42, 53.84, 2.10)
CIE-LCHlch(35.42, 53.88, 2.23°)
OKLaboklab(46.49% 0.1653 0.006)
OKLCHoklch(46.49% 0.165 2.1)
XYZxyz(15.8932, 8.7080, 8.8249)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E52 #1E9D69
analogous
#9D1E92 #9D1E52 #9D2A1E
triadic
#9D1E52 #529D1E #1E529D
tetradic
#9D1E52 #929D1E #1E9D69 #2A1E9D
square
#9D1E52 #929D1E #1E9D69 #2A1E9D
split-complementary
#9D1E52 #1E9D2A #1E929D
monochromatic
#360A1C #6A1437 #9D1E52 #D0286D #DF578E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1E52#FFFFFF#000000##FFFFFF
##9D1E521.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)
#3E4453
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AB0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1e52;
/* rgb */ color: rgb(157, 30, 82);
/* oklch */ color: oklch(46.5% 0.165 2.1);
Tailwind
colors: {
  custom: {
    50: '#c06882',
    500: '#9d1e52',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e52;
$custom-light: #c06882;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e52",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 335.433,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.16539,
    "h": 2.1
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#9D1E52
secondary
#54C295
accent
#EBA43D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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