#9C1A82#9C1A82

#9C1A82 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.193 H 338.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9C1A82
RGBrgb(156, 26, 130)
HSLhsl(312, 71%, 36%)
HSVhsv(312, 83%, 61%)
CMYKcmyk(0%, 83.3%, 16.7%, 38.8%)
CIE-LABlab(36.78, 60.21, -26.32)
CIE-LCHlch(36.78, 65.71, 336.39°)
OKLaboklab(48.07% 0.1787 -0.0715)
OKLCHoklch(48.07% 0.193 338.2)
XYZxyz(18.1094, 9.4202, 21.9793)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1A82 #1A9C34
analogous
#751A9C #9C1A82 #9C1A41
triadic
#9C1A82 #829C1A #1A829C
tetradic
#9C1A82 #9C751A #1A9C34 #1A419C
square
#9C1A82 #9C751A #1A9C34 #1A419C
split-complementary
#9C1A82 #419C1A #1A9C75
monochromatic
#33092B #681156 #9C1A82 #D023AE #E24FC4

Accessibility & contrast

On white

7.28
#9C1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9C1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1A82
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1A82#FFFFFF#000000##FFFFFF
##9C1A821.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#505D7F
Tritanopia (blue-blind)
#A5234E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1a82;
/* rgb */ color: rgb(156, 26, 130);
/* oklch */ color: oklch(48.1% 0.193 338.2);
Tailwind
colors: {
  custom: {
    50: '#bd69a6',
    500: '#9c1a82',
    950: '#000000',
  },
}
SCSS
$custom: #9c1a82;
$custom-light: #bd69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1a82",
  "rgb": {
    "r": 156,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 312,
    "s": 71.429,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48069,
    "c": 0.19251,
    "h": 338.2
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#9C1A82
secondary
#4EC465
accent
#EE5E3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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