#9A1D66#9A1D66

#9A1D66 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.172 H 350.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9A1D66
RGBrgb(154, 29, 102)
HSLhsl(325, 68%, 36%)
HSVhsv(325, 81%, 60%)
CMYKcmyk(0%, 81.2%, 33.8%, 39.6%)
CIE-LABlab(35.42, 55.39, -10.82)
CIE-LCHlch(35.42, 56.43, 348.94°)
OKLaboklab(46.61% 0.1698 -0.0282)
OKLCHoklch(46.61% 0.172 350.6)
XYZxyz(16.1650, 8.7100, 13.3977)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D66 #1D9A51
analogous
#8F1D9A #9A1D66 #9A1D27
triadic
#9A1D66 #669A1D #1D669A
tetradic
#9A1D66 #9A8F1D #1D9A51 #1D279A
square
#9A1D66 #9A8F1D #1D9A51 #1D279A
split-complementary
#9A1D66 #279A1D #1D9A8F
monochromatic
#330A22 #661344 #9A1D66 #CE2788 #DF53A4

Accessibility & contrast

On white

7.66
#9A1D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9A1D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D66
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D66#FFFFFF#000000##FFFFFF
##9A1D661.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344568
Deuteranopia (green-blind)
#595B63
Tritanopia (blue-blind)
#A6113F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a1d66;
/* rgb */ color: rgb(154, 29, 102);
/* oklch */ color: oklch(46.6% 0.172 350.6);
Tailwind
colors: {
  custom: {
    50: '#bc6891',
    500: '#9a1d66',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d66;
$custom-light: #bc6891;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d66",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 324.96,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4661,
    "c": 0.17213,
    "h": 350.6
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#9A1D66
secondary
#51C280
accent
#EB853D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A1D66

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

Preview Lab → · Contrast checker → · Palette generator →

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