#9A1D6A#9A1D6A

#9A1D6A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.174 H 348.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9A1D6A
RGBrgb(154, 29, 106)
HSLhsl(323, 68%, 36%)
HSVhsv(323, 81%, 60%)
CMYKcmyk(0%, 81.2%, 31.2%, 39.6%)
CIE-LABlab(35.58, 55.85, -13.13)
CIE-LCHlch(35.58, 57.38, 346.77°)
OKLaboklab(46.78% 0.1708 -0.0345)
OKLCHoklch(46.78% 0.174 348.6)
XYZxyz(16.3682, 8.7913, 14.4678)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D6A #1D9A4D
analogous
#8B1D9A #9A1D6A #9A1D2B
triadic
#9A1D6A #6A9A1D #1D6A9A
tetradic
#9A1D6A #9A8B1D #1D9A4D #1D2B9A
square
#9A1D6A #9A8B1D #1D9A4D #1D2B9A
split-complementary
#9A1D6A #2B9A1D #1D9A8B
monochromatic
#330A23 #661347 #9A1D6A #CE278D #DF53A9

Accessibility & contrast

On white

7.61
#9A1D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9A1D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D6A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D6A#FFFFFF#000000##FFFFFF
##9A1D6A1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33466C
Deuteranopia (green-blind)
#575B67
Tritanopia (blue-blind)
#A61542
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1d6a;
/* rgb */ color: rgb(154, 29, 106);
/* oklch */ color: oklch(46.8% 0.174 348.6);
Tailwind
colors: {
  custom: {
    50: '#bc6894',
    500: '#9a1d6a',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d6a;
$custom-light: #bc6894;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d6a",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 323.04,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.17421,
    "h": 348.6
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#9A1D6A
secondary
#51C27C
accent
#EB803D
background
#FCF6F9
surface
#F8EBF1
border
#D1C6CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9A1D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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