#9D1A7E#9D1A7E

#9D1A7E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 340.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9D1A7E
RGBrgb(157, 26, 126)
HSLhsl(314, 72%, 36%)
HSVhsv(314, 83%, 62%)
CMYKcmyk(0%, 83.4%, 19.7%, 38.4%)
CIE-LABlab(36.77, 59.88, -23.83)
CIE-LCHlch(36.77, 64.45, 338.30°)
OKLaboklab(48.03% 0.1793 -0.0644)
OKLCHoklch(48.03% 0.19 340.2)
XYZxyz(18.0405, 9.4151, 20.6018)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A7E #1A9D39
analogous
#7A1A9D #9D1A7E #9D1A3D
triadic
#9D1A7E #7E9D1A #1A7E9D
tetradic
#9D1A7E #9D7A1A #1A9D39 #1A3D9D
square
#9D1A7E #9D7A1A #1A9D39 #1A3D9D
split-complementary
#9D1A7E #3D9D1A #1A9D7A
monochromatic
#34092A #681154 #9D1A7E #D223A8 #E24FBF

Accessibility & contrast

On white

7.29
#9D1A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9D1A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A7E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A7E#FFFFFF#000000##FFFFFF
##9D1A7E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#A71F4C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1a7e;
/* rgb */ color: rgb(157, 26, 126);
/* oklch */ color: oklch(48.0% 0.190 340.2);
Tailwind
colors: {
  custom: {
    50: '#be69a3',
    500: '#9d1a7e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a7e;
$custom-light: #be69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a7e",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 314.198,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.19048,
    "h": 340.2
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#9D1A7E
secondary
#4EC46A
accent
#EE6439
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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