#9D1E83#9D1E83

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

Color values

HEX#9D1E83
RGBrgb(157, 30, 131)
HSLhsl(312, 68%, 37%)
HSVhsv(312, 81%, 62%)
CMYKcmyk(0%, 80.9%, 16.6%, 38.4%)
CIE-LABlab(37.37, 59.56, -26.01)
CIE-LCHlch(37.37, 64.99, 336.41°)
OKLaboklab(48.54% 0.1767 -0.0707)
OKLCHoklch(48.54% 0.19 338.2)
XYZxyz(18.4661, 9.7372, 22.3753)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E83 #1E9D38
analogous
#771E9D #9D1E83 #9D1E44
triadic
#9D1E83 #839D1E #1E839D
tetradic
#9D1E83 #9D771E #1E9D38 #1E449D
square
#9D1E83 #9D771E #1E9D38 #1E449D
split-complementary
#9D1E83 #449D1E #1E9D77
monochromatic
#360A2D #6A1458 #9D1E83 #D028AE #DF57C3

Accessibility & contrast

On white

7.13
#9D1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E83
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E83#FFFFFF#000000##FFFFFF
##9D1E831.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#515F80
Tritanopia (blue-blind)
#A62650
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1e83;
/* rgb */ color: rgb(157, 30, 131);
/* oklch */ color: oklch(48.5% 0.190 338.2);
Tailwind
colors: {
  custom: {
    50: '#be6aa7',
    500: '#9d1e83',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e83;
$custom-light: #be6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e83",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 312.283,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.1903,
    "h": 338.2
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#9D1E83
secondary
#54C26B
accent
#EB613D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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