#9A1A80#9A1A80

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

Color values

HEX#9A1A80
RGBrgb(154, 26, 128)
HSLhsl(312, 71%, 35%)
HSVhsv(312, 83%, 60%)
CMYKcmyk(0%, 83.1%, 16.9%, 39.6%)
CIE-LABlab(36.31, 59.48, -25.84)
CIE-LCHlch(36.31, 64.86, 336.52°)
OKLaboklab(47.63% 0.1767 -0.0702)
OKLCHoklch(47.63% 0.19 338.3)
XYZxyz(17.5926, 9.1691, 21.2612)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1A80 #1A9A34
analogous
#741A9A #9A1A80 #9A1A40
triadic
#9A1A80 #809A1A #1A809A
tetradic
#9A1A80 #9A741A #1A9A34 #1A409A
square
#9A1A80 #9A741A #1A9A34 #1A409A
split-complementary
#9A1A80 #409A1A #1A9A74
monochromatic
#310829 #661154 #9A1A80 #CE23AC #E14DC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A1A80#FFFFFF#000000##FFFFFF
##9A1A801.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224983
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#A3224D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1a80;
/* rgb */ color: rgb(154, 26, 128);
/* oklch */ color: oklch(47.6% 0.190 338.3);
Tailwind
colors: {
  custom: {
    50: '#bc68a5',
    500: '#9a1a80',
    950: '#000000',
  },
}
SCSS
$custom: #9a1a80;
$custom-light: #bc68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1a80",
  "rgb": {
    "r": 154,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 312.188,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.19011,
    "h": 338.3
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#9A1A80
secondary
#4DC365
accent
#EE5E3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1A80

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

Preview Lab → · Contrast checker → · Palette generator →

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