#9A1D56#9A1D56

#9A1D56 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.165 H 359.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9A1D56
RGBrgb(154, 29, 86)
HSLhsl(333, 68%, 36%)
HSVhsv(333, 81%, 60%)
CMYKcmyk(0%, 81.2%, 44.2%, 39.6%)
CIE-LABlab(34.85, 53.68, -1.39)
CIE-LCHlch(34.85, 53.70, 358.51°)
OKLaboklab(46.01% 0.1651 -0.003)
OKLCHoklch(46.01% 0.165 359)
XYZxyz(15.4467, 8.4227, 9.6146)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D56 #1D9A61
analogous
#9A1D94 #9A1D56 #9A221D
triadic
#9A1D56 #569A1D #1D569A
tetradic
#9A1D56 #949A1D #1D9A61 #221D9A
square
#9A1D56 #949A1D #1D9A61 #221D9A
split-complementary
#9A1D56 #1D9A22 #1D949A
monochromatic
#330A1C #661339 #9A1D56 #CE2773 #DF5393

Accessibility & contrast

On white

7.82
#9A1D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9A1D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D56
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D56#FFFFFF#000000##FFFFFF
##9A1D561.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#5C5A53
Tritanopia (blue-blind)
#A70037
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1d56;
/* rgb */ color: rgb(154, 29, 86);
/* oklch */ color: oklch(46.0% 0.165 359.0);
Tailwind
colors: {
  custom: {
    50: '#bd6885',
    500: '#9a1d56',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d56;
$custom-light: #bd6885;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d56",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 332.64,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.16515,
    "h": 359
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#9A1D56
secondary
#51C28E
accent
#EB9C3D
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A1D56

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

Preview Lab → · Contrast checker → · Palette generator →

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