#9D1A82#9D1A82

#9D1A82 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.193 H 338.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9D1A82
RGBrgb(157, 26, 130)
HSLhsl(312, 72%, 36%)
HSVhsv(312, 83%, 62%)
CMYKcmyk(0%, 83.4%, 17.2%, 38.4%)
CIE-LABlab(36.97, 60.43, -26.02)
CIE-LCHlch(36.97, 65.79, 336.71°)
OKLaboklab(48.24% 0.1797 -0.0706)
OKLCHoklch(48.24% 0.193 338.5)
XYZxyz(18.3038, 9.5204, 21.9884)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A82 #1A9D35
analogous
#761A9D #9D1A82 #9D1A41
triadic
#9D1A82 #829D1A #1A829D
tetradic
#9D1A82 #9D761A #1A9D35 #1A419D
square
#9D1A82 #9D761A #1A9D35 #1A419D
split-complementary
#9D1A82 #419D1A #1A9D76
monochromatic
#34092B #681157 #9D1A82 #D223AD #E24FC4

Accessibility & contrast

On white

7.23
#9D1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A82
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A82#FFFFFF#000000##FFFFFF
##9D1A821.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A6224E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1a82;
/* rgb */ color: rgb(157, 26, 130);
/* oklch */ color: oklch(48.2% 0.193 338.5);
Tailwind
colors: {
  custom: {
    50: '#be69a6',
    500: '#9d1a82',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a82;
$custom-light: #be69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a82",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 312.366,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48238,
    "c": 0.19305,
    "h": 338.5
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#9D1A82
secondary
#4EC467
accent
#EE5F39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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