#9D1951#9D1951

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

Color values

HEX#9D1951
RGBrgb(157, 25, 81)
HSLhsl(335, 73%, 36%)
HSVhsv(335, 84%, 62%)
CMYKcmyk(0%, 84.1%, 48.4%, 38.4%)
CIE-LABlab(34.92, 55.07, 2.03)
CIE-LCHlch(34.92, 55.11, 2.11°)
OKLaboklab(46.12% 0.1692 0.0058)
OKLCHoklch(46.12% 0.169 2)
XYZxyz(15.7388, 8.4596, 8.5871)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1951 #199D65
analogous
#9D1993 #9D1951 #9D2319
triadic
#9D1951 #519D19 #19519D
tetradic
#9D1951 #939D19 #199D65 #23199D
square
#9D1951 #939D19 #199D65 #23199D
split-complementary
#9D1951 #199D23 #19939D
monochromatic
#33081B #681136 #9D1951 #D2216C #E34E8D

Accessibility & contrast

On white

7.80
#9D1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D1951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1951
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1951#FFFFFF#000000##FFFFFF
##9D19511.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#5F5B4E
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1951;
/* rgb */ color: rgb(157, 25, 81);
/* oklch */ color: oklch(46.1% 0.169 2.0);
Tailwind
colors: {
  custom: {
    50: '#c06781',
    500: '#9d1951',
    950: '#000000',
  },
}
SCSS
$custom: #9d1951;
$custom-light: #c06781;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1951",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 334.545,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.1693,
    "h": 2
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#9D1951
secondary
#4DC592
accent
#EFA239
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1951

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

Preview Lab → · Contrast checker → · Palette generator →

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