#9D1751#9D1751

#9D1751 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.171 H 1.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9D1751
RGBrgb(157, 23, 81)
HSLhsl(334, 74%, 35%)
HSVhsv(334, 85%, 62%)
CMYKcmyk(0%, 85.4%, 48.4%, 38.4%)
CIE-LABlab(34.76, 55.55, 1.79)
CIE-LCHlch(34.76, 55.58, 1.84°)
OKLaboklab(46% 0.1707 0.0052)
OKLCHoklch(46% 0.171 1.7)
XYZxyz(15.6976, 8.3772, 8.5734)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1751 #179D63
analogous
#9D1794 #9D1751 #9D2017
triadic
#9D1751 #519D17 #17519D
tetradic
#9D1751 #949D17 #179D63 #20179D
square
#9D1751 #949D17 #179D63 #20179D
split-complementary
#9D1751 #179D20 #17949D
monochromatic
#32071A #680F35 #9D1751 #D21F6D #E44A8D

Accessibility & contrast

On white

7.85
#9D1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D1751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1751
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1751#FFFFFF#000000##FFFFFF
##9D17511.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1751;
/* rgb */ color: rgb(157, 23, 81);
/* oklch */ color: oklch(46.0% 0.171 1.7);
Tailwind
colors: {
  custom: {
    50: '#c06681',
    500: '#9d1751',
    950: '#000000',
  },
}
SCSS
$custom: #9d1751;
$custom-light: #c06681;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1751",
  "rgb": {
    "r": 157,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 334.03,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45995,
    "c": 0.17081,
    "h": 1.7
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#9D1751
secondary
#4AC690
accent
#F1A037
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1751

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

Preview Lab → · Contrast checker → · Palette generator →

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