#9D1C83#9D1C83

#9D1C83 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.192 H 338.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9D1C83
RGBrgb(157, 28, 131)
HSLhsl(312, 70%, 36%)
HSVhsv(312, 82%, 62%)
CMYKcmyk(0%, 82.2%, 16.6%, 38.4%)
CIE-LABlab(37.19, 60.08, -26.29)
CIE-LCHlch(37.19, 65.58, 336.36°)
OKLaboklab(48.41% 0.1783 -0.0714)
OKLCHoklch(48.41% 0.192 338.2)
XYZxyz(18.4171, 9.6391, 22.3589)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C83 #1C9D36
analogous
#771C9D #9D1C83 #9D1C43
triadic
#9D1C83 #839D1C #1C839D
tetradic
#9D1C83 #9D771C #1C9D36 #1C439D
square
#9D1C83 #9D771C #1C9D36 #1C439D
split-complementary
#9D1C83 #439D1C #1C9D77
monochromatic
#35092C #691358 #9D1C83 #D125AE #E053C4

Accessibility & contrast

On white

7.17
#9D1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D1C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C83
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C83#FFFFFF#000000##FFFFFF
##9D1C831.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#515E80
Tritanopia (blue-blind)
#A6244F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1c83;
/* rgb */ color: rgb(157, 28, 131);
/* oklch */ color: oklch(48.4% 0.192 338.2);
Tailwind
colors: {
  custom: {
    50: '#be69a7',
    500: '#9d1c83',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c83;
$custom-light: #be69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c83",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 312.093,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.19206,
    "h": 338.2
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#9D1C83
secondary
#51C368
accent
#ED5F3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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