#9D1A7C#9D1A7C

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

Color values

HEX#9D1A7C
RGBrgb(157, 26, 124)
HSLhsl(315, 72%, 36%)
HSVhsv(315, 83%, 62%)
CMYKcmyk(0%, 83.4%, 21%, 38.4%)
CIE-LABlab(36.68, 59.62, -22.73)
CIE-LCHlch(36.68, 63.80, 339.13°)
OKLaboklab(47.93% 0.179 -0.0613)
OKLCHoklch(47.93% 0.189 341.1)
XYZxyz(17.9127, 9.3640, 19.9290)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A7C #1A9D3B
analogous
#7C1A9D #9D1A7C #9D1A3A
triadic
#9D1A7C #7C9D1A #1A7C9D
tetradic
#9D1A7C #9D7C1A #1A9D3B #1A3A9D
square
#9D1A7C #9D7C1A #1A9D3B #1A3A9D
split-complementary
#9D1A7C #3A9D1A #1A9D7C
monochromatic
#340929 #681153 #9D1A7C #D223A5 #E24FBD

Accessibility & contrast

On white

7.31
#9D1A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1A7C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A7C#FFFFFF#000000##FFFFFF
##9D1A7C1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A71E4B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1a7c;
/* rgb */ color: rgb(157, 26, 124);
/* oklch */ color: oklch(47.9% 0.189 341.1);
Tailwind
colors: {
  custom: {
    50: '#be69a2',
    500: '#9d1a7c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a7c;
$custom-light: #be69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a7c",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 315.115,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47933,
    "c": 0.18922,
    "h": 341.1
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#9D1A7C
secondary
#4EC46C
accent
#EE6739
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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