#9A1D78#9A1D78

#9A1D78 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.182 H 341.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9A1D78
RGBrgb(154, 29, 120)
HSLhsl(316, 68%, 36%)
HSVhsv(316, 81%, 60%)
CMYKcmyk(0%, 81.2%, 22.1%, 39.6%)
CIE-LABlab(36.19, 57.62, -21.03)
CIE-LCHlch(36.19, 61.34, 339.95°)
OKLaboklab(47.42% 0.1734 -0.0566)
OKLCHoklch(47.42% 0.182 341.9)
XYZxyz(17.1566, 9.1066, 18.6199)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D78 #1D9A3F
analogous
#7D1D9A #9A1D78 #9A1D39
triadic
#9A1D78 #789A1D #1D789A
tetradic
#9A1D78 #9A7D1D #1D9A3F #1D399A
square
#9A1D78 #9A7D1D #1D9A3F #1D399A
split-complementary
#9A1D78 #399A1D #1D9A7D
monochromatic
#330A28 #661350 #9A1D78 #CE27A0 #DF53B9

Accessibility & contrast

On white

7.44
#9A1D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1D78
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D78#FFFFFF#000000##FFFFFF
##9A1D781.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B487A
Deuteranopia (green-blind)
#535C75
Tritanopia (blue-blind)
#A41F49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1d78;
/* rgb */ color: rgb(154, 29, 120);
/* oklch */ color: oklch(47.4% 0.182 341.9);
Tailwind
colors: {
  custom: {
    50: '#bc699f',
    500: '#9a1d78',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d78;
$custom-light: #bc699f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d78",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 316.32,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47418,
    "c": 0.18237,
    "h": 341.9
  },
  "luminance": 0.09105
}

Semantic roles & 50–950 ramp

primary
#9A1D78
secondary
#51C270
accent
#EB6C3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A1D78

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

Preview Lab → · Contrast checker → · Palette generator →

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