#9D104E#9D104E

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

Color values

HEX#9D104E
RGBrgb(157, 16, 78)
HSLhsl(334, 82%, 34%)
HSVhsv(334, 90%, 62%)
CMYKcmyk(0%, 89.8%, 50.3%, 38.4%)
CIE-LABlab(34.17, 56.72, 2.90)
CIE-LCHlch(34.17, 56.79, 2.93°)
OKLaboklab(45.54% 0.1743 0.008)
OKLCHoklch(45.54% 0.174 2.6)
XYZxyz(15.4665, 8.0910, 7.9536)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D104E #109D5F
analogous
#9D1095 #9D104E #9D1910
triadic
#9D104E #4E9D10 #104E9D
tetradic
#9D104E #959D10 #109D5F #19109D
square
#9D104E #959D10 #109D5F #19109D
split-complementary
#9D104E #109D19 #10959D
monochromatic
#2E0517 #650A32 #9D104E #D5166A #EB3C89

Accessibility & contrast

On white

8.02
#9D104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9D104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D104E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D104E#FFFFFF#000000##FFFFFF
##9D104E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#5E5A4B
Tritanopia (blue-blind)
#AB002F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9d104e;
/* rgb */ color: rgb(157, 16, 78);
/* oklch */ color: oklch(45.5% 0.174 2.6);
Tailwind
colors: {
  custom: {
    50: '#c0647f',
    500: '#9d104e',
    950: '#000000',
  },
}
SCSS
$custom: #9d104e;
$custom-light: #c0647f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d104e",
  "rgb": {
    "r": 157,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 333.617,
    "s": 81.503,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.17447,
    "h": 2.6
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#9D104E
secondary
#3ECA8D
accent
#F8A030
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13060A
muted
#827A7C

Preview Lab

Preview with #9D104E

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

Preview Lab → · Contrast checker → · Palette generator →

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