#9A1D77#9A1D77

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

Color values

HEX#9A1D77
RGBrgb(154, 29, 119)
HSLhsl(317, 68%, 36%)
HSVhsv(317, 81%, 60%)
CMYKcmyk(0%, 81.2%, 22.7%, 39.6%)
CIE-LABlab(36.14, 57.49, -20.48)
CIE-LCHlch(36.14, 61.03, 340.40°)
OKLaboklab(47.37% 0.1732 -0.055)
OKLCHoklch(47.37% 0.182 342.4)
XYZxyz(17.0962, 9.0825, 18.3019)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D77 #1D9A40
analogous
#7E1D9A #9A1D77 #9A1D38
triadic
#9A1D77 #779A1D #1D779A
tetradic
#9A1D77 #9A7E1D #1D9A40 #1D389A
square
#9A1D77 #9A7E1D #1D9A40 #1D389A
split-complementary
#9A1D77 #389A1D #1D9A7E
monochromatic
#330A27 #66134F #9A1D77 #CE279F #DF53B7

Accessibility & contrast

On white

7.46
#9A1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1D77
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D77#FFFFFF#000000##FFFFFF
##9A1D771.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#535C74
Tritanopia (blue-blind)
#A41E49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1d77;
/* rgb */ color: rgb(154, 29, 119);
/* oklch */ color: oklch(47.4% 0.182 342.4);
Tailwind
colors: {
  custom: {
    50: '#bc699e',
    500: '#9a1d77',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d77;
$custom-light: #bc699e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d77",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 316.8,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.18175,
    "h": 342.4
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#9A1D77
secondary
#51C271
accent
#EB6E3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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