#9A1981#9A1981

#9A1981 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.6% C 0.192 H 337.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9A1981
RGBrgb(154, 25, 129)
HSLhsl(312, 72%, 35%)
HSVhsv(312, 84%, 60%)
CMYKcmyk(0%, 83.8%, 16.2%, 39.6%)
CIE-LABlab(36.28, 59.86, -26.52)
CIE-LCHlch(36.28, 65.47, 336.11°)
OKLaboklab(47.62% 0.1775 -0.0721)
OKLCHoklch(47.62% 0.192 337.9)
XYZxyz(17.6369, 9.1520, 21.6023)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1981 #199A32
analogous
#73199A #9A1981 #9A1940
triadic
#9A1981 #819A19 #19819A
tetradic
#9A1981 #9A7319 #199A32 #19409A
square
#9A1981 #9A7319 #199A32 #19409A
split-complementary
#9A1981 #409A19 #199A73
monochromatic
#310829 #651055 #9A1981 #CF22AD #E24CC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A1981#FFFFFF#000000##FFFFFF
##9A19811.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)
#204984
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#A3224D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1981;
/* rgb */ color: rgb(154, 25, 129);
/* oklch */ color: oklch(47.6% 0.192 337.9);
Tailwind
colors: {
  custom: {
    50: '#bc68a6',
    500: '#9a1981',
    950: '#000000',
  },
}
SCSS
$custom: #9a1981;
$custom-light: #bc68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1981",
  "rgb": {
    "r": 154,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 311.628,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.19157,
    "h": 337.9
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#9A1981
secondary
#4BC462
accent
#EF5C39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1981

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

Preview Lab → · Contrast checker → · Palette generator →

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