#9A1D7B#9A1D7B

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

Color values

HEX#9A1D7B
RGBrgb(154, 29, 123)
HSLhsl(315, 68%, 36%)
HSVhsv(315, 81%, 60%)
CMYKcmyk(0%, 81.2%, 20.1%, 39.6%)
CIE-LABlab(36.33, 58.03, -22.69)
CIE-LCHlch(36.33, 62.31, 338.64°)
OKLaboklab(47.57% 0.1738 -0.0613)
OKLCHoklch(47.57% 0.184 340.6)
XYZxyz(17.3415, 9.1806, 19.5938)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D7B #1D9A3C
analogous
#7A1D9A #9A1D7B #9A1D3C
triadic
#9A1D7B #7B9A1D #1D7B9A
tetradic
#9A1D7B #9A7A1D #1D9A3C #1D3C9A
square
#9A1D7B #9A7A1D #1D9A3C #1D3C9A
split-complementary
#9A1D7B #3C9A1D #1D9A7A
monochromatic
#330A29 #661352 #9A1D7B #CE27A4 #DF53BC

Accessibility & contrast

On white

7.41
#9A1D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9A1D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D7B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D7B#FFFFFF#000000##FFFFFF
##9A1D7B1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#525C78
Tritanopia (blue-blind)
#A4214B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1d7b;
/* rgb */ color: rgb(154, 29, 123);
/* oklch */ color: oklch(47.6% 0.184 340.6);
Tailwind
colors: {
  custom: {
    50: '#bc69a1',
    500: '#9a1d7b',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d7b;
$custom-light: #bc69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d7b",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 314.88,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.18427,
    "h": 340.6
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#9A1D7B
secondary
#51C26D
accent
#EB683D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #9A1D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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