#9D1E82#9D1E82

#9D1E82 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.190 H 338.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9D1E82
RGBrgb(157, 30, 130)
HSLhsl(313, 68%, 37%)
HSVhsv(313, 81%, 62%)
CMYKcmyk(0%, 80.9%, 17.2%, 38.4%)
CIE-LABlab(37.32, 59.42, -25.47)
CIE-LCHlch(37.32, 64.65, 336.80°)
OKLaboklab(48.49% 0.1766 -0.0691)
OKLCHoklch(48.49% 0.19 338.6)
XYZxyz(18.3986, 9.7102, 22.0201)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E82 #1E9D39
analogous
#791E9D #9D1E82 #9D1E43
triadic
#9D1E82 #829D1E #1E829D
tetradic
#9D1E82 #9D791E #1E9D39 #1E439D
square
#9D1E82 #9D791E #1E9D39 #1E439D
split-complementary
#9D1E82 #439D1E #1E9D79
monochromatic
#360A2D #6A1457 #9D1E82 #D028AD #DF57C2

Accessibility & contrast

On white

7.14
#9D1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E82
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E82#FFFFFF#000000##FFFFFF
##9D1E821.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A6254F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1e82;
/* rgb */ color: rgb(157, 30, 130);
/* oklch */ color: oklch(48.5% 0.190 338.6);
Tailwind
colors: {
  custom: {
    50: '#be6aa6',
    500: '#9d1e82',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e82;
$custom-light: #be6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e82",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 312.756,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48488,
    "c": 0.18965,
    "h": 338.6
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#9D1E82
secondary
#54C26C
accent
#EB623D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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