#9D1B53#9D1B53

#9D1B53 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 1.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9D1B53
RGBrgb(157, 27, 83)
HSLhsl(334, 71%, 36%)
HSVhsv(334, 83%, 62%)
CMYKcmyk(0%, 82.8%, 47.1%, 38.4%)
CIE-LABlab(35.16, 54.75, 1.08)
CIE-LCHlch(35.16, 54.76, 1.13°)
OKLaboklab(46.31% 0.1683 0.0034)
OKLCHoklch(46.31% 0.168 1.1)
XYZxyz(15.8592, 8.5787, 9.0027)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B53 #1B9D65
analogous
#9D1B94 #9D1B53 #9D241B
triadic
#9D1B53 #539D1B #1B539D
tetradic
#9D1B53 #949D1B #1B9D65 #241B9D
square
#9D1B53 #949D1B #1B9D65 #241B9D
split-complementary
#9D1B53 #1B9D24 #1B949D
monochromatic
#35091C #691237 #9D1B53 #D1246F #E1518F

Accessibility & contrast

On white

7.73
#9D1B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1B53
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B53#FFFFFF#000000##FFFFFF
##9D1B531.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4354
Deuteranopia (green-blind)
#5F5C50
Tritanopia (blue-blind)
#AB0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1b53;
/* rgb */ color: rgb(157, 27, 83);
/* oklch */ color: oklch(46.3% 0.168 1.1);
Tailwind
colors: {
  custom: {
    50: '#c06783',
    500: '#9d1b53',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b53;
$custom-light: #c06783;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b53",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 334.154,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4631,
    "c": 0.16829,
    "h": 1.1
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#9D1B53
secondary
#50C492
accent
#EDA03A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1B53

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

Preview Lab → · Contrast checker → · Palette generator →

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