#9D1C4C#9D1C4C

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

Color values

HEX#9D1C4C
RGBrgb(157, 28, 76)
HSLhsl(338, 70%, 36%)
HSVhsv(338, 82%, 62%)
CMYKcmyk(0%, 82.2%, 51.6%, 38.4%)
CIE-LABlab(35.05, 53.87, 5.46)
CIE-LCHlch(35.05, 54.15, 5.78°)
OKLaboklab(46.16% 0.1649 0.0144)
OKLCHoklch(46.16% 0.166 5)
XYZxyz(15.6258, 8.5226, 7.6583)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C4C #1C9D6D
analogous
#9D1C8D #9D1C4C #9D2C1C
triadic
#9D1C4C #4C9D1C #1C4C9D
tetradic
#9D1C4C #8D9D1C #1C9D6D #2C1C9D
square
#9D1C4C #8D9D1C #1C9D6D #2C1C9D
split-complementary
#9D1C4C #1C9D2C #1C8D9D
monochromatic
#35091A #691333 #9D1C4C #D12565 #E05388

Accessibility & contrast

On white

7.77
#9D1C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D1C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C4C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C4C#FFFFFF#000000##FFFFFF
##9D1C4C1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1c4c;
/* rgb */ color: rgb(157, 28, 76);
/* oklch */ color: oklch(46.2% 0.166 5.0);
Tailwind
colors: {
  custom: {
    50: '#c0677d',
    500: '#9d1c4c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c4c;
$custom-light: #c0677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c4c",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 337.674,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46162,
    "c": 0.16551,
    "h": 5
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#9D1C4C
secondary
#51C399
accent
#EDAB3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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