#9D1782#9D1782

#9D1782 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.195 H 338.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9D1782
RGBrgb(157, 23, 130)
HSLhsl(312, 74%, 35%)
HSVhsv(312, 85%, 62%)
CMYKcmyk(0%, 85.4%, 17.2%, 38.4%)
CIE-LABlab(36.73, 61.11, -26.38)
CIE-LCHlch(36.73, 66.56, 336.65°)
OKLaboklab(48.07% 0.1817 -0.0717)
OKLCHoklch(48.07% 0.195 338.5)
XYZxyz(18.2408, 9.3945, 21.9674)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1782 #179D32
analogous
#75179D #9D1782 #9D173F
triadic
#9D1782 #829D17 #17829D
tetradic
#9D1782 #9D7517 #179D32 #173F9D
square
#9D1782 #9D7517 #179D32 #173F9D
split-complementary
#9D1782 #3F9D17 #179D75
monochromatic
#32072A #680F56 #9D1782 #D21FAE #E44AC5

Accessibility & contrast

On white

7.30
#9D1782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1782
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1782#FFFFFF#000000##FFFFFF
##9D17821.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204985
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#A6204E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1782;
/* rgb */ color: rgb(157, 23, 130);
/* oklch */ color: oklch(48.1% 0.195 338.5);
Tailwind
colors: {
  custom: {
    50: '#be68a6',
    500: '#9d1782',
    950: '#000000',
  },
}
SCSS
$custom: #9d1782;
$custom-light: #be68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1782",
  "rgb": {
    "r": 157,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 312.09,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48069,
    "c": 0.19534,
    "h": 338.5
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#9D1782
secondary
#4AC663
accent
#F15C37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1782

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

Preview Lab → · Contrast checker → · Palette generator →

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