#9D1C82#9D1C82

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

Color values

HEX#9D1C82
RGBrgb(157, 28, 130)
HSLhsl(313, 70%, 36%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 82.2%, 17.2%, 38.4%)
CIE-LABlab(37.14, 59.94, -25.75)
CIE-LCHlch(37.14, 65.24, 336.75°)
OKLaboklab(48.36% 0.1782 -0.0699)
OKLCHoklch(48.36% 0.191 338.6)
XYZxyz(18.3496, 9.6122, 22.0037)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C82 #1C9D37
analogous
#781C9D #9D1C82 #9D1C42
triadic
#9D1C82 #829D1C #1C829D
tetradic
#9D1C82 #9D781C #1C9D37 #1C429D
square
#9D1C82 #9D781C #1C9D37 #1C429D
split-complementary
#9D1C82 #429D1C #1C9D78
monochromatic
#35092C #691357 #9D1C82 #D125AD #E053C3

Accessibility & contrast

On white

7.19
#9D1C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9D1C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C82
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C82#FFFFFF#000000##FFFFFF
##9D1C821.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A6244F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1c82;
/* rgb */ color: rgb(157, 28, 130);
/* oklch */ color: oklch(48.4% 0.191 338.6);
Tailwind
colors: {
  custom: {
    50: '#be69a6',
    500: '#9d1c82',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c82;
$custom-light: #be69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c82",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 312.558,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48359,
    "c": 0.19139,
    "h": 338.6
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#9D1C82
secondary
#51C369
accent
#ED603B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1C82

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

Preview Lab → · Contrast checker → · Palette generator →

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