#9A1D68#9A1D68

#9A1D68 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.173 H 349.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9A1D68
RGBrgb(154, 29, 104)
HSLhsl(324, 68%, 36%)
HSVhsv(324, 81%, 60%)
CMYKcmyk(0%, 81.2%, 32.5%, 39.6%)
CIE-LABlab(35.50, 55.62, -11.98)
CIE-LCHlch(35.50, 56.89, 347.85°)
OKLaboklab(46.69% 0.1703 -0.0313)
OKLCHoklch(46.69% 0.173 349.6)
XYZxyz(16.2654, 8.7502, 13.9264)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D68 #1D9A4F
analogous
#8D1D9A #9A1D68 #9A1D29
triadic
#9A1D68 #689A1D #1D689A
tetradic
#9A1D68 #9A8D1D #1D9A4F #1D299A
square
#9A1D68 #9A8D1D #1D9A4F #1D299A
split-complementary
#9A1D68 #299A1D #1D9A8D
monochromatic
#330A22 #661345 #9A1D68 #CE278B #DF53A7

Accessibility & contrast

On white

7.64
#9A1D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9A1D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D68
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D68#FFFFFF#000000##FFFFFF
##9A1D681.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34466A
Deuteranopia (green-blind)
#585B65
Tritanopia (blue-blind)
#A61341
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a1d68;
/* rgb */ color: rgb(154, 29, 104);
/* oklch */ color: oklch(46.7% 0.173 349.6);
Tailwind
colors: {
  custom: {
    50: '#bc6893',
    500: '#9a1d68',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d68;
$custom-light: #bc6893;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d68",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 324,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46693,
    "c": 0.17316,
    "h": 349.6
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#9A1D68
secondary
#51C27E
accent
#EB823D
background
#FCF6F9
surface
#F8EBF1
border
#D1C6CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9A1D68

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

Preview Lab → · Contrast checker → · Palette generator →

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