#9A1D5A#9A1D5A

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

Color values

HEX#9A1D5A
RGBrgb(154, 29, 90)
HSLhsl(331, 68%, 36%)
HSVhsv(331, 81%, 60%)
CMYKcmyk(0%, 81.2%, 41.6%, 39.6%)
CIE-LABlab(34.98, 54.08, -3.78)
CIE-LCHlch(34.98, 54.21, 356.00°)
OKLaboklab(46.15% 0.1664 -0.0093)
OKLCHoklch(46.15% 0.167 356.8)
XYZxyz(15.6124, 8.4890, 10.4873)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D5A #1D9A5D
analogous
#9A1D98 #9A1D5A #9A1E1D
triadic
#9A1D5A #5A9A1D #1D5A9A
tetradic
#9A1D5A #989A1D #1D9A5D #1E1D9A
square
#9A1D5A #989A1D #1D9A5D #1E1D9A
split-complementary
#9A1D5A #1D9A1E #1D989A
monochromatic
#330A1E #66133C #9A1D5A #CE2778 #DF5397

Accessibility & contrast

On white

7.79
#9A1D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9A1D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D5A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D5A#FFFFFF#000000##FFFFFF
##9A1D5A1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39435B
Deuteranopia (green-blind)
#5C5B57
Tritanopia (blue-blind)
#A70439
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1d5a;
/* rgb */ color: rgb(154, 29, 90);
/* oklch */ color: oklch(46.1% 0.167 356.8);
Tailwind
colors: {
  custom: {
    50: '#bd6888',
    500: '#9a1d5a',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d5a;
$custom-light: #bd6888;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d5a",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 330.72,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46147,
    "c": 0.16668,
    "h": 356.8
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#9A1D5A
secondary
#51C28B
accent
#EB963D
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A1D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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