#9D104B#9D104B

#9D104B is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.174 H 4.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9D104B
RGBrgb(157, 16, 75)
HSLhsl(335, 82%, 34%)
HSVhsv(335, 90%, 62%)
CMYKcmyk(0%, 89.8%, 52.2%, 38.4%)
CIE-LABlab(34.08, 56.47, 4.73)
CIE-LCHlch(34.08, 56.67, 4.79°)
OKLaboklab(45.45% 0.1732 0.0126)
OKLCHoklch(45.45% 0.174 4.1)
XYZxyz(15.3614, 8.0489, 7.4000)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D104B #109D62
analogous
#9D1092 #9D104B #9D1C10
triadic
#9D104B #4B9D10 #104B9D
tetradic
#9D104B #929D10 #109D62 #1C109D
square
#9D104B #929D10 #109D62 #1C109D
split-complementary
#9D104B #109D1C #10929D
monochromatic
#2E0516 #650A30 #9D104B #D51666 #EB3C85

Accessibility & contrast

On white

8.05
#9D104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D104B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D104B#FFFFFF#000000##FFFFFF
##9D104B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4C
Deuteranopia (green-blind)
#5E5A48
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9d104b;
/* rgb */ color: rgb(157, 16, 75);
/* oklch */ color: oklch(45.4% 0.174 4.1);
Tailwind
colors: {
  custom: {
    50: '#c0647d',
    500: '#9d104b',
    950: '#000000',
  },
}
SCSS
$custom: #9d104b;
$custom-light: #c0647d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d104b",
  "rgb": {
    "r": 157,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 334.894,
    "s": 81.503,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.17366,
    "h": 4.1
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#9D104B
secondary
#3ECA90
accent
#F8A430
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130609
muted
#827A7B

Preview Lab

Preview with #9D104B

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

Preview Lab → · Contrast checker → · Palette generator →

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