#9D1E4C#9D1E4C

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

Color values

HEX#9D1E4C
RGBrgb(157, 30, 76)
HSLhsl(338, 68%, 37%)
HSVhsv(338, 81%, 62%)
CMYKcmyk(0%, 80.9%, 51.6%, 38.4%)
CIE-LABlab(35.24, 53.32, 5.74)
CIE-LCHlch(35.24, 53.62, 6.14°)
OKLaboklab(46.31% 0.1631 0.0151)
OKLCHoklch(46.31% 0.164 5.3)
XYZxyz(15.6748, 8.6207, 7.6746)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E4C #1E9D6F
analogous
#9D1E8C #9D1E4C #9D301E
triadic
#9D1E4C #4C9D1E #1E4C9D
tetradic
#9D1E4C #8C9D1E #1E9D6F #301E9D
square
#9D1E4C #8C9D1E #1E9D6F #301E9D
split-complementary
#9D1E4C #1E9D30 #1E8C9D
monochromatic
#360A1A #6A1433 #9D1E4C #D02865 #DF5788

Accessibility & contrast

On white

7.71
#9D1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9D1E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E4C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E4C#FFFFFF#000000##FFFFFF
##9D1E4C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434D
Deuteranopia (green-blind)
#615C49
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1e4c;
/* rgb */ color: rgb(157, 30, 76);
/* oklch */ color: oklch(46.3% 0.164 5.3);
Tailwind
colors: {
  custom: {
    50: '#c0687d',
    500: '#9d1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e4c;
$custom-light: #c0687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e4c",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 338.268,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46305,
    "c": 0.16378,
    "h": 5.3
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#9D1E4C
secondary
#54C29B
accent
#EBAC3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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