#9A1D7A#9A1D7A

#9A1D7A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.184 H 341.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9A1D7A
RGBrgb(154, 29, 122)
HSLhsl(315, 68%, 36%)
HSVhsv(315, 81%, 60%)
CMYKcmyk(0%, 81.2%, 20.8%, 39.6%)
CIE-LABlab(36.28, 57.89, -22.14)
CIE-LCHlch(36.28, 61.98, 339.07°)
OKLaboklab(47.52% 0.1737 -0.0597)
OKLCHoklch(47.52% 0.184 341)
XYZxyz(17.2792, 9.1557, 19.2658)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D7A #1D9A3D
analogous
#7B1D9A #9A1D7A #9A1D3B
triadic
#9A1D7A #7A9A1D #1D7A9A
tetradic
#9A1D7A #9A7B1D #1D9A3D #1D3B9A
square
#9A1D7A #9A7B1D #1D9A3D #1D3B9A
split-complementary
#9A1D7A #3B9A1D #1D9A7B
monochromatic
#330A28 #661351 #9A1D7A #CE27A3 #DF53BB

Accessibility & contrast

On white

7.42
#9A1D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9A1D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D7A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D7A#FFFFFF#000000##FFFFFF
##9A1D7A1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497C
Deuteranopia (green-blind)
#525C77
Tritanopia (blue-blind)
#A4214A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1d7a;
/* rgb */ color: rgb(154, 29, 122);
/* oklch */ color: oklch(47.5% 0.184 341.0);
Tailwind
colors: {
  custom: {
    50: '#bc69a0',
    500: '#9a1d7a',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d7a;
$custom-light: #bc69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d7a",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 315.36,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.18363,
    "h": 341
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#9A1D7A
secondary
#51C26E
accent
#EB693D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #9A1D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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