#9D1C4D#9D1C4D

#9D1C4D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.166 H 4.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9D1C4D
RGBrgb(157, 28, 77)
HSLhsl(337, 70%, 36%)
HSVhsv(337, 82%, 62%)
CMYKcmyk(0%, 82.2%, 51%, 38.4%)
CIE-LABlab(35.08, 53.96, 4.85)
CIE-LCHlch(35.08, 54.17, 5.13°)
OKLaboklab(46.19% 0.1653 0.0129)
OKLCHoklch(46.19% 0.166 4.4)
XYZxyz(15.6608, 8.5366, 7.8428)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C4D #1C9D6C
analogous
#9D1C8E #9D1C4D #9D2B1C
triadic
#9D1C4D #4D9D1C #1C4D9D
tetradic
#9D1C4D #8E9D1C #1C9D6C #2B1C9D
square
#9D1C4D #8E9D1C #1C9D6C #2B1C9D
split-complementary
#9D1C4D #1C9D2B #1C8E9D
monochromatic
#35091A #691334 #9D1C4D #D12566 #E05389

Accessibility & contrast

On white

7.76
#9D1C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9D1C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C4D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C4D#FFFFFF#000000##FFFFFF
##9D1C4D1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1c4d;
/* rgb */ color: rgb(157, 28, 77);
/* oklch */ color: oklch(46.2% 0.166 4.4);
Tailwind
colors: {
  custom: {
    50: '#c0677e',
    500: '#9d1c4d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c4d;
$custom-light: #c0677e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c4d",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 337.209,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.16575,
    "h": 4.4
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#9D1C4D
secondary
#51C398
accent
#EDA93B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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