#9A1D76#9A1D76

#9A1D76 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.181 H 342.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9A1D76
RGBrgb(154, 29, 118)
HSLhsl(317, 68%, 36%)
HSVhsv(317, 81%, 60%)
CMYKcmyk(0%, 81.2%, 23.4%, 39.6%)
CIE-LABlab(36.10, 57.36, -19.92)
CIE-LCHlch(36.10, 60.72, 340.85°)
OKLaboklab(47.32% 0.1731 -0.0534)
OKLCHoklch(47.32% 0.181 342.8)
XYZxyz(17.0365, 9.0586, 17.9873)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D76 #1D9A41
analogous
#7F1D9A #9A1D76 #9A1D37
triadic
#9A1D76 #769A1D #1D769A
tetradic
#9A1D76 #9A7F1D #1D9A41 #1D379A
square
#9A1D76 #9A7F1D #1D9A41 #1D379A
split-complementary
#9A1D76 #379A1D #1D9A7F
monochromatic
#330A27 #66134F #9A1D76 #CE279D #DF53B6

Accessibility & contrast

On white

7.47
#9A1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9A1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D76
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D76#FFFFFF#000000##FFFFFF
##9A1D761.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#545C73
Tritanopia (blue-blind)
#A41E48
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1d76;
/* rgb */ color: rgb(154, 29, 118);
/* oklch */ color: oklch(47.3% 0.181 342.8);
Tailwind
colors: {
  custom: {
    50: '#bc699d',
    500: '#9a1d76',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d76;
$custom-light: #bc699d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d76",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 317.28,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.18114,
    "h": 342.8
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#9A1D76
secondary
#51C272
accent
#EB6F3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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