#9D1A4D#9D1A4D

#9D1A4D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.167 H 4.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9D1A4D
RGBrgb(157, 26, 77)
HSLhsl(337, 72%, 36%)
HSVhsv(337, 83%, 62%)
CMYKcmyk(0%, 83.4%, 51%, 38.4%)
CIE-LABlab(34.89, 54.48, 4.59)
CIE-LCHlch(34.89, 54.67, 4.81°)
OKLaboklab(46.06% 0.1669 0.0122)
OKLCHoklch(46.06% 0.167 4.2)
XYZxyz(15.6150, 8.4449, 7.8275)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A4D #1A9D6A
analogous
#9D1A8E #9D1A4D #9D281A
triadic
#9D1A4D #4D9D1A #1A4D9D
tetradic
#9D1A4D #8E9D1A #1A9D6A #281A9D
square
#9D1A4D #8E9D1A #1A9D6A #281A9D
split-complementary
#9D1A4D #1A9D28 #1A8E9D
monochromatic
#340919 #681133 #9D1A4D #D22367 #E24F88

Accessibility & contrast

On white

7.81
#9D1A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1A4D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A4D#FFFFFF#000000##FFFFFF
##9D1A4D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424E
Deuteranopia (green-blind)
#605B4A
Tritanopia (blue-blind)
#AB0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1a4d;
/* rgb */ color: rgb(157, 26, 77);
/* oklch */ color: oklch(46.1% 0.167 4.2);
Tailwind
colors: {
  custom: {
    50: '#c0677e',
    500: '#9d1a4d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a4d;
$custom-light: #c0677e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a4d",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 336.641,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46057,
    "c": 0.16739,
    "h": 4.2
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#9D1A4D
secondary
#4EC496
accent
#EEA839
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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