#9D1D54#9D1D54

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

Color values

HEX#9D1D54
RGBrgb(157, 29, 84)
HSLhsl(334, 69%, 36%)
HSVhsv(334, 82%, 62%)
CMYKcmyk(0%, 81.5%, 46.5%, 38.4%)
CIE-LABlab(35.38, 54.30, 0.75)
CIE-LCHlch(35.38, 54.31, 0.79°)
OKLaboklab(46.48% 0.1669 0.0025)
OKLCHoklch(46.48% 0.167 0.9)
XYZxyz(15.9455, 8.6891, 9.2233)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D54 #1D9D66
analogous
#9D1D94 #9D1D54 #9D261D
triadic
#9D1D54 #549D1D #1D549D
tetradic
#9D1D54 #949D1D #1D9D66 #261D9D
square
#9D1D54 #949D1D #1D9D66 #261D9D
split-complementary
#9D1D54 #1D9D26 #1D949D
monochromatic
#360A1D #691338 #9D1D54 #D12770 #E05590

Accessibility & contrast

On white

7.67
#9D1D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1D54
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D54#FFFFFF#000000##FFFFFF
##9D1D541.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1d54;
/* rgb */ color: rgb(157, 29, 84);
/* oklch */ color: oklch(46.5% 0.167 0.9);
Tailwind
colors: {
  custom: {
    50: '#bf6883',
    500: '#9d1d54',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d54;
$custom-light: #bf6883;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d54",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 334.219,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.1669,
    "h": 0.9
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#9D1D54
secondary
#53C393
accent
#ECA03C
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1D54

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

Preview Lab → · Contrast checker → · Palette generator →

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