#9A1D59#9A1D59

#9A1D59 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 357.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9A1D59
RGBrgb(154, 29, 89)
HSLhsl(331, 68%, 36%)
HSVhsv(331, 81%, 60%)
CMYKcmyk(0%, 81.2%, 42.2%, 39.6%)
CIE-LABlab(34.95, 53.98, -3.18)
CIE-LCHlch(34.95, 54.08, 356.62°)
OKLaboklab(46.11% 0.1661 -0.0077)
OKLCHoklch(46.11% 0.166 357.3)
XYZxyz(15.5701, 8.4721, 10.2646)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D59 #1D9A5E
analogous
#9A1D97 #9A1D59 #9A1F1D
triadic
#9A1D59 #599A1D #1D599A
tetradic
#9A1D59 #979A1D #1D9A5E #1F1D9A
square
#9A1D59 #979A1D #1D9A5E #1F1D9A
split-complementary
#9A1D59 #1D9A1F #1D979A
monochromatic
#330A1D #66133B #9A1D59 #CE2777 #DF5396

Accessibility & contrast

On white

7.80
#9A1D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1D59
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D59#FFFFFF#000000##FFFFFF
##9A1D591.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A435A
Deuteranopia (green-blind)
#5C5B56
Tritanopia (blue-blind)
#A70339
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1d59;
/* rgb */ color: rgb(154, 29, 89);
/* oklch */ color: oklch(46.1% 0.166 357.3);
Tailwind
colors: {
  custom: {
    50: '#bd6887',
    500: '#9a1d59',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d59;
$custom-light: #bd6887;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d59",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 331.2,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46111,
    "c": 0.16628,
    "h": 357.3
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#9A1D59
secondary
#51C28C
accent
#EB973D
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A1D59

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

Preview Lab → · Contrast checker → · Palette generator →

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