#9A1D57#9A1D57

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

Color values

HEX#9A1D57
RGBrgb(154, 29, 87)
HSLhsl(332, 68%, 36%)
HSVhsv(332, 81%, 60%)
CMYKcmyk(0%, 81.2%, 43.5%, 39.6%)
CIE-LABlab(34.88, 53.78, -1.99)
CIE-LCHlch(34.88, 53.82, 357.88°)
OKLaboklab(46.04% 0.1655 -0.0046)
OKLCHoklch(46.04% 0.166 358.4)
XYZxyz(15.4873, 8.4389, 9.8283)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D57 #1D9A60
analogous
#9A1D95 #9A1D57 #9A211D
triadic
#9A1D57 #579A1D #1D579A
tetradic
#9A1D57 #959A1D #1D9A60 #211D9A
square
#9A1D57 #959A1D #1D9A60 #211D9A
split-complementary
#9A1D57 #1D9A21 #1D959A
monochromatic
#330A1D #66133A #9A1D57 #CE2774 #DF5394

Accessibility & contrast

On white

7.81
#9A1D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9A1D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D57
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D57#FFFFFF#000000##FFFFFF
##9A1D571.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#5C5A54
Tritanopia (blue-blind)
#A70138
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1d57;
/* rgb */ color: rgb(154, 29, 87);
/* oklch */ color: oklch(46.0% 0.166 358.4);
Tailwind
colors: {
  custom: {
    50: '#bd6886',
    500: '#9a1d57',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d57;
$custom-light: #bd6886;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d57",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 332.16,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.16551,
    "h": 358.4
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#9A1D57
secondary
#51C28D
accent
#EB9A3D
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A1D57

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

Preview Lab → · Contrast checker → · Palette generator →

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