#9D1A7B#9D1A7B

#9D1A7B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.189 H 341.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9D1A7B
RGBrgb(157, 26, 123)
HSLhsl(316, 72%, 36%)
HSVhsv(316, 83%, 62%)
CMYKcmyk(0%, 83.4%, 21.7%, 38.4%)
CIE-LABlab(36.63, 59.48, -22.18)
CIE-LCHlch(36.63, 63.48, 339.55°)
OKLaboklab(47.88% 0.1789 -0.0597)
OKLCHoklch(47.88% 0.189 341.5)
XYZxyz(17.8498, 9.3389, 19.5976)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A7B #1A9D3C
analogous
#7D1A9D #9D1A7B #9D1A39
triadic
#9D1A7B #7B9D1A #1A7B9D
tetradic
#9D1A7B #9D7D1A #1A9D3C #1A399D
square
#9D1A7B #9D7D1A #1A9D3C #1A399D
split-complementary
#9D1A7B #399D1A #1A9D7D
monochromatic
#340929 #681152 #9D1A7B #D223A4 #E24FBC

Accessibility & contrast

On white

7.32
#9D1A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9D1A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A7B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A7B#FFFFFF#000000##FFFFFF
##9D1A7B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A71D4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1a7b;
/* rgb */ color: rgb(157, 26, 123);
/* oklch */ color: oklch(47.9% 0.189 341.5);
Tailwind
colors: {
  custom: {
    50: '#be69a1',
    500: '#9d1a7b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a7b;
$custom-light: #be69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a7b",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 315.573,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.1886,
    "h": 341.5
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#9D1A7B
secondary
#4EC46D
accent
#EE6839
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9D1A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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