#9D1A4C#9D1A4C

#9D1A4C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 4.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9D1A4C
RGBrgb(157, 26, 76)
HSLhsl(337, 72%, 36%)
HSVhsv(337, 83%, 62%)
CMYKcmyk(0%, 83.4%, 51.6%, 38.4%)
CIE-LABlab(34.86, 54.40, 5.20)
CIE-LCHlch(34.86, 54.64, 5.46°)
OKLaboklab(46.03% 0.1666 0.0137)
OKLCHoklch(46.03% 0.167 4.7)
XYZxyz(15.5800, 8.4309, 7.6430)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A4C #1A9D6B
analogous
#9D1A8D #9D1A4C #9D291A
triadic
#9D1A4C #4C9D1A #1A4C9D
tetradic
#9D1A4C #8D9D1A #1A9D6B #291A9D
square
#9D1A4C #8D9D1A #1A9D6B #291A9D
split-complementary
#9D1A4C #1A9D29 #1A8D9D
monochromatic
#340919 #681133 #9D1A4C #D22365 #E24F87

Accessibility & contrast

On white

7.82
#9D1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D1A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A4C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A4C#FFFFFF#000000##FFFFFF
##9D1A4C1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1a4c;
/* rgb */ color: rgb(157, 26, 76);
/* oklch */ color: oklch(46.0% 0.167 4.7);
Tailwind
colors: {
  custom: {
    50: '#c0677d',
    500: '#9d1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a4c;
$custom-light: #c0677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a4c",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 337.099,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46027,
    "c": 0.16713,
    "h": 4.7
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#9D1A4C
secondary
#4EC497
accent
#EEA939
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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