#9A1D6C#9A1D6C

#9A1D6C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.175 H 347.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9A1D6C
RGBrgb(154, 29, 108)
HSLhsl(322, 68%, 36%)
HSVhsv(322, 81%, 60%)
CMYKcmyk(0%, 81.2%, 29.9%, 39.6%)
CIE-LABlab(35.66, 56.09, -14.27)
CIE-LCHlch(35.66, 57.88, 345.73°)
OKLaboklab(46.86% 0.1712 -0.0377)
OKLCHoklch(46.86% 0.175 347.6)
XYZxyz(16.4734, 8.8334, 15.0219)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D6C #1D9A4B
analogous
#891D9A #9A1D6C #9A1D2D
triadic
#9A1D6C #6C9A1D #1D6C9A
tetradic
#9A1D6C #9A891D #1D9A4B #1D2D9A
square
#9A1D6C #9A891D #1D9A4B #1D2D9A
split-complementary
#9A1D6C #2D9A1D #1D9A89
monochromatic
#330A24 #661348 #9A1D6C #CE2790 #DF53AB

Accessibility & contrast

On white

7.59
#9A1D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9A1D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D6C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D6C#FFFFFF#000000##FFFFFF
##9A1D6C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466E
Deuteranopia (green-blind)
#575C69
Tritanopia (blue-blind)
#A51643
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1d6c;
/* rgb */ color: rgb(154, 29, 108);
/* oklch */ color: oklch(46.9% 0.175 347.6);
Tailwind
colors: {
  custom: {
    50: '#bc6896',
    500: '#9a1d6c',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d6c;
$custom-light: #bc6896;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d6c",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 322.08,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46864,
    "c": 0.1753,
    "h": 347.6
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#9A1D6C
secondary
#51C27B
accent
#EB7D3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9A1D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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