#9A1D71#9A1D71

#9A1D71 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.178 H 345.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9A1D71
RGBrgb(154, 29, 113)
HSLhsl(320, 68%, 36%)
HSVhsv(320, 81%, 60%)
CMYKcmyk(0%, 81.2%, 26.6%, 39.6%)
CIE-LABlab(35.87, 56.71, -17.11)
CIE-LCHlch(35.87, 59.24, 343.21°)
OKLaboklab(47.09% 0.1722 -0.0455)
OKLCHoklch(47.09% 0.178 345.2)
XYZxyz(16.7472, 8.9429, 16.4638)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D71 #1D9A46
analogous
#841D9A #9A1D71 #9A1D32
triadic
#9A1D71 #719A1D #1D719A
tetradic
#9A1D71 #9A841D #1D9A46 #1D329A
square
#9A1D71 #9A841D #1D9A46 #1D329A
split-complementary
#9A1D71 #329A1D #1D9A84
monochromatic
#330A25 #66134B #9A1D71 #CE2797 #DF53B1

Accessibility & contrast

On white

7.53
#9A1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9A1D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D71
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D71#FFFFFF#000000##FFFFFF
##9A1D711.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#555C6E
Tritanopia (blue-blind)
#A51A45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1d71;
/* rgb */ color: rgb(154, 29, 113);
/* oklch */ color: oklch(47.1% 0.178 345.2);
Tailwind
colors: {
  custom: {
    50: '#bc699a',
    500: '#9a1d71',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d71;
$custom-light: #bc699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d71",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 319.68,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47088,
    "c": 0.17814,
    "h": 345.2
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#9A1D71
secondary
#51C276
accent
#EB763D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9A1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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