#9A1D72#9A1D72

#9A1D72 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.179 H 344.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9A1D72
RGBrgb(154, 29, 114)
HSLhsl(319, 68%, 36%)
HSVhsv(319, 81%, 60%)
CMYKcmyk(0%, 81.2%, 26%, 39.6%)
CIE-LABlab(35.92, 56.84, -17.68)
CIE-LCHlch(35.92, 59.53, 342.73°)
OKLaboklab(47.13% 0.1724 -0.0471)
OKLCHoklch(47.13% 0.179 344.7)
XYZxyz(16.8038, 8.9655, 16.7619)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D72 #1D9A45
analogous
#831D9A #9A1D72 #9A1D33
triadic
#9A1D72 #729A1D #1D729A
tetradic
#9A1D72 #9A831D #1D9A45 #1D339A
square
#9A1D72 #9A831D #1D9A45 #1D339A
split-complementary
#9A1D72 #339A1D #1D9A83
monochromatic
#330A26 #66134C #9A1D72 #CE2798 #DF53B2

Accessibility & contrast

On white

7.52
#9A1D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1D72
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D72#FFFFFF#000000##FFFFFF
##9A1D721.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#555C6F
Tritanopia (blue-blind)
#A51B46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1d72;
/* rgb */ color: rgb(154, 29, 114);
/* oklch */ color: oklch(47.1% 0.179 344.7);
Tailwind
colors: {
  custom: {
    50: '#bc699a',
    500: '#9a1d72',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d72;
$custom-light: #bc699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d72",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 319.2,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47134,
    "c": 0.17872,
    "h": 344.7
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#9A1D72
secondary
#51C275
accent
#EB743D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9A1D72

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

Preview Lab → · Contrast checker → · Palette generator →

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