#9D1C4F#9D1C4F

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

Color values

HEX#9D1C4F
RGBrgb(157, 28, 79)
HSLhsl(336, 70%, 36%)
HSVhsv(336, 82%, 62%)
CMYKcmyk(0%, 82.2%, 49.7%, 38.4%)
CIE-LABlab(35.13, 54.13, 3.63)
CIE-LCHlch(35.13, 54.25, 3.84°)
OKLaboklab(46.25% 0.166 0.0098)
OKLCHoklch(46.25% 0.166 3.4)
XYZxyz(15.7325, 8.5653, 8.2205)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C4F #1C9D6A
analogous
#9D1C90 #9D1C4F #9D2A1C
triadic
#9D1C4F #4F9D1C #1C4F9D
tetradic
#9D1C4F #909D1C #1C9D6A #2A1C9D
square
#9D1C4F #909D1C #1C9D6A #2A1C9D
split-complementary
#9D1C4F #1C9D2A #1C909D
monochromatic
#35091B #691335 #9D1C4F #D12569 #E0538B

Accessibility & contrast

On white

7.74
#9D1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1C4F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C4F#FFFFFF#000000##FFFFFF
##9D1C4F1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4350
Deuteranopia (green-blind)
#605C4C
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1c4f;
/* rgb */ color: rgb(157, 28, 79);
/* oklch */ color: oklch(46.3% 0.166 3.4);
Tailwind
colors: {
  custom: {
    50: '#c06880',
    500: '#9d1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c4f;
$custom-light: #c06880;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c4f",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 336.279,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.16628,
    "h": 3.4
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#9D1C4F
secondary
#51C396
accent
#EDA63B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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