#9D104C#9D104C

#9D104C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.174 H 3.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9D104C
RGBrgb(157, 16, 76)
HSLhsl(334, 82%, 34%)
HSVhsv(334, 90%, 62%)
CMYKcmyk(0%, 89.8%, 51.6%, 38.4%)
CIE-LABlab(34.11, 56.55, 4.12)
CIE-LCHlch(34.11, 56.70, 4.17°)
OKLaboklab(45.48% 0.1736 0.011)
OKLCHoklch(45.48% 0.174 3.6)
XYZxyz(15.3959, 8.0627, 7.5817)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D104C #109D61
analogous
#9D1093 #9D104C #9D1B10
triadic
#9D104C #4C9D10 #104C9D
tetradic
#9D104C #939D10 #109D61 #1B109D
square
#9D104C #939D10 #109D61 #1B109D
split-complementary
#9D104C #109D1B #10939D
monochromatic
#2E0516 #650A31 #9D104C #D51667 #EB3C87

Accessibility & contrast

On white

8.04
#9D104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9D104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D104C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D104C#FFFFFF#000000##FFFFFF
##9D104C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4D
Deuteranopia (green-blind)
#5E5A49
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9d104c;
/* rgb */ color: rgb(157, 16, 76);
/* oklch */ color: oklch(45.5% 0.174 3.6);
Tailwind
colors: {
  custom: {
    50: '#c0647d',
    500: '#9d104c',
    950: '#000000',
  },
}
SCSS
$custom: #9d104c;
$custom-light: #c0647d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d104c",
  "rgb": {
    "r": 157,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 334.468,
    "s": 81.503,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.17392,
    "h": 3.6
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#9D104C
secondary
#3ECA8F
accent
#F8A330
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130609
muted
#827A7B

Preview Lab

Preview with #9D104C

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

Preview Lab → · Contrast checker → · Palette generator →

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