#9D1882#9D1882

#9D1882 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.27:1 contrast (WCAG AA passes).

Color values

HEX#9D1882
RGBrgb(157, 24, 130)
HSLhsl(312, 73%, 35%)
HSVhsv(312, 85%, 62%)
CMYKcmyk(0%, 84.7%, 17.2%, 38.4%)
CIE-LABlab(36.81, 60.89, -26.26)
CIE-LCHlch(36.81, 66.31, 336.67°)
OKLaboklab(48.12% 0.1811 -0.0713)
OKLCHoklch(48.12% 0.195 338.5)
XYZxyz(18.2610, 9.4349, 21.9742)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1882 #189D33
analogous
#75189D #9D1882 #9D1840
triadic
#9D1882 #829D18 #18829D
tetradic
#9D1882 #9D7518 #189D33 #18409D
square
#9D1882 #9D7518 #189D33 #18409D
split-complementary
#9D1882 #409D18 #189D75
monochromatic
#33082A #681056 #9D1882 #D220AE #E44CC5

Accessibility & contrast

On white

7.27
#9D1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D1882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1882
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1882#FFFFFF#000000##FFFFFF
##9D18821.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#A6214E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1882;
/* rgb */ color: rgb(157, 24, 130);
/* oklch */ color: oklch(48.1% 0.195 338.5);
Tailwind
colors: {
  custom: {
    50: '#be68a6',
    500: '#9d1882',
    950: '#000000',
  },
}
SCSS
$custom: #9d1882;
$custom-light: #be68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1882",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 312.18,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48123,
    "c": 0.1946,
    "h": 338.5
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#9D1882
secondary
#4BC564
accent
#F05D38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1882

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

Preview Lab → · Contrast checker → · Palette generator →

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