#9D1B56#9D1B56

#9D1B56 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.169 H 359.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9D1B56
RGBrgb(157, 27, 86)
HSLhsl(333, 71%, 36%)
HSVhsv(333, 83%, 62%)
CMYKcmyk(0%, 82.8%, 45.2%, 38.4%)
CIE-LABlab(35.25, 55.03, -0.73)
CIE-LCHlch(35.25, 55.03, 359.24°)
OKLaboklab(46.41% 0.1693 -0.0013)
OKLCHoklch(46.41% 0.169 359.6)
XYZxyz(15.9776, 8.6260, 9.6259)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B56 #1B9D62
analogous
#9D1B97 #9D1B56 #9D211B
triadic
#9D1B56 #569D1B #1B569D
tetradic
#9D1B56 #979D1B #1B9D62 #211B9D
square
#9D1B56 #979D1B #1B9D62 #211B9D
split-complementary
#9D1B56 #1B9D21 #1B979D
monochromatic
#35091D #691239 #9D1B56 #D12473 #E15193

Accessibility & contrast

On white

7.71
#9D1B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9D1B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1B56
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B56#FFFFFF#000000##FFFFFF
##9D1B561.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#5E5C53
Tritanopia (blue-blind)
#AB0036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1b56;
/* rgb */ color: rgb(157, 27, 86);
/* oklch */ color: oklch(46.4% 0.169 359.6);
Tailwind
colors: {
  custom: {
    50: '#bf6785',
    500: '#9d1b56',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b56;
$custom-light: #bf6785;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b56",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 332.769,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4641,
    "c": 0.16929,
    "h": 359.6
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#9D1B56
secondary
#50C48F
accent
#ED9C3A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1B56

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

Preview Lab → · Contrast checker → · Palette generator →

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