#9D1E84#9D1E84

#9D1E84 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.191 H 337.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9D1E84
RGBrgb(157, 30, 132)
HSLhsl(312, 68%, 37%)
HSVhsv(312, 81%, 62%)
CMYKcmyk(0%, 80.9%, 15.9%, 38.4%)
CIE-LABlab(37.42, 59.70, -26.55)
CIE-LCHlch(37.42, 65.34, 336.02°)
OKLaboklab(48.59% 0.1768 -0.0722)
OKLCHoklch(48.59% 0.191 337.8)
XYZxyz(18.5342, 9.7644, 22.7339)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E84 #1E9D37
analogous
#771E9D #9D1E84 #9D1E45
triadic
#9D1E84 #849D1E #1E849D
tetradic
#9D1E84 #9D771E #1E9D37 #1E459D
square
#9D1E84 #9D771E #1E9D37 #1E459D
split-complementary
#9D1E84 #459D1E #1E9D77
monochromatic
#360A2E #6A1459 #9D1E84 #D028AF #DF57C4

Accessibility & contrast

On white

7.11
#9D1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9D1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E84
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E84#FFFFFF#000000##FFFFFF
##9D1E841.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A62650
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1e84;
/* rgb */ color: rgb(157, 30, 132);
/* oklch */ color: oklch(48.6% 0.191 337.8);
Tailwind
colors: {
  custom: {
    50: '#be6aa8',
    500: '#9d1e84',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e84;
$custom-light: #be6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e84",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 311.811,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48592,
    "c": 0.19098,
    "h": 337.8
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#9D1E84
secondary
#54C26A
accent
#EB5F3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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