#9A1A7D#9A1A7D

#9A1A7D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.188 H 339.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9A1A7D
RGBrgb(154, 26, 125)
HSLhsl(314, 71%, 35%)
HSVhsv(314, 83%, 60%)
CMYKcmyk(0%, 83.1%, 18.8%, 39.6%)
CIE-LABlab(36.16, 59.07, -24.21)
CIE-LCHlch(36.16, 63.84, 337.72°)
OKLaboklab(47.47% 0.1764 -0.0655)
OKLCHoklch(47.47% 0.188 339.6)
XYZxyz(17.3980, 9.0913, 20.2366)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1A7D #1A9A37
analogous
#771A9A #9A1A7D #9A1A3D
triadic
#9A1A7D #7D9A1A #1A7D9A
tetradic
#9A1A7D #9A771A #1A9A37 #1A3D9A
square
#9A1A7D #9A771A #1A9A37 #1A3D9A
split-complementary
#9A1A7D #3D9A1A #1A9A77
monochromatic
#310828 #661152 #9A1A7D #CE23A7 #E14DC0

Accessibility & contrast

On white

7.45
#9A1A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9A1A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1A7D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1A7D#FFFFFF#000000##FFFFFF
##9A1A7D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487F
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#A3204B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1a7d;
/* rgb */ color: rgb(154, 26, 125);
/* oklch */ color: oklch(47.5% 0.188 339.6);
Tailwind
colors: {
  custom: {
    50: '#bc68a3',
    500: '#9a1a7d',
    950: '#000000',
  },
}
SCSS
$custom: #9a1a7d;
$custom-light: #bc68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1a7d",
  "rgb": {
    "r": 154,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 313.594,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47474,
    "c": 0.18815,
    "h": 339.6
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#9A1A7D
secondary
#4DC367
accent
#EE633A
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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