#9D1E4A#9D1E4A

#9D1E4A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.163 H 6.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9D1E4A
RGBrgb(157, 30, 74)
HSLhsl(339, 68%, 37%)
HSVhsv(339, 81%, 62%)
CMYKcmyk(0%, 80.9%, 52.9%, 38.4%)
CIE-LABlab(35.19, 53.15, 6.96)
CIE-LCHlch(35.19, 53.60, 7.46°)
OKLaboklab(46.25% 0.1623 0.0181)
OKLCHoklch(46.25% 0.163 6.3)
XYZxyz(15.6064, 8.5933, 7.3141)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E4A #1E9D71
analogous
#9D1E8A #9D1E4A #9D321E
triadic
#9D1E4A #4A9D1E #1E4A9D
tetradic
#9D1E4A #8A9D1E #1E9D71 #321E9D
square
#9D1E4A #8A9D1E #1E9D71 #321E9D
split-complementary
#9D1E4A #1E9D32 #1E8A9D
monochromatic
#360A1A #6A1432 #9D1E4A #D02862 #DF5786

Accessibility & contrast

On white

7.73
#9D1E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E4A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E4A#FFFFFF#000000##FFFFFF
##9D1E4A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#AC0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1e4a;
/* rgb */ color: rgb(157, 30, 74);
/* oklch */ color: oklch(46.2% 0.163 6.3);
Tailwind
colors: {
  custom: {
    50: '#c0687c',
    500: '#9d1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e4a;
$custom-light: #c0687c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e4a",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 339.213,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46247,
    "c": 0.16333,
    "h": 6.3
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#9D1E4A
secondary
#54C29C
accent
#EBAF3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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