#9A1D84#9A1D84

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

Color values

HEX#9A1D84
RGBrgb(154, 29, 132)
HSLhsl(311, 68%, 36%)
HSVhsv(311, 81%, 60%)
CMYKcmyk(0%, 81.2%, 14.3%, 39.6%)
CIE-LABlab(36.77, 59.29, -27.60)
CIE-LCHlch(36.77, 65.40, 335.04°)
OKLaboklab(48.03% 0.1747 -0.0752)
OKLCHoklch(48.03% 0.19 336.7)
XYZxyz(17.9310, 9.4164, 22.6985)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D84 #1D9A33
analogous
#711D9A #9A1D84 #9A1D45
triadic
#9A1D84 #849A1D #1D849A
tetradic
#9A1D84 #9A711D #1D9A33 #1D459A
square
#9A1D84 #9A711D #1D9A33 #1D459A
split-complementary
#9A1D84 #459A1D #1D9A71
monochromatic
#330A2C #661358 #9A1D84 #CE27B0 #DF53C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A1D84#FFFFFF#000000##FFFFFF
##9A1D841.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)
#214B87
Deuteranopia (green-blind)
#4E5D81
Tritanopia (blue-blind)
#A22750
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a1d84;
/* rgb */ color: rgb(154, 29, 132);
/* oklch */ color: oklch(48.0% 0.190 336.7);
Tailwind
colors: {
  custom: {
    50: '#bc69a8',
    500: '#9a1d84',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d84;
$custom-light: #bc69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d84",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 310.56,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48029,
    "c": 0.19023,
    "h": 336.7
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#9A1D84
secondary
#51C265
accent
#EB5B3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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