#9A1D55#9A1D55

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

Color values

HEX#9A1D55
RGBrgb(154, 29, 85)
HSLhsl(333, 68%, 36%)
HSVhsv(333, 81%, 60%)
CMYKcmyk(0%, 81.2%, 44.8%, 39.6%)
CIE-LABlab(34.82, 53.59, -0.79)
CIE-LCHlch(34.82, 53.59, 359.15°)
OKLaboklab(45.97% 0.1648 -0.0014)
OKLCHoklch(45.97% 0.165 359.5)
XYZxyz(15.4067, 8.4067, 9.4039)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D55 #1D9A62
analogous
#9A1D93 #9A1D55 #9A231D
triadic
#9A1D55 #559A1D #1D559A
tetradic
#9A1D55 #939A1D #1D9A62 #231D9A
square
#9A1D55 #939A1D #1D9A62 #231D9A
split-complementary
#9A1D55 #1D9A23 #1D939A
monochromatic
#330A1C #661339 #9A1D55 #CE2771 #DF5391

Accessibility & contrast

On white

7.83
#9A1D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1D55
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D55#FFFFFF#000000##FFFFFF
##9A1D551.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1d55;
/* rgb */ color: rgb(154, 29, 85);
/* oklch */ color: oklch(46.0% 0.165 359.5);
Tailwind
colors: {
  custom: {
    50: '#bd6884',
    500: '#9a1d55',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d55;
$custom-light: #bd6884;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d55",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 333.12,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45972,
    "c": 0.1648,
    "h": 359.5
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#9A1D55
secondary
#51C28F
accent
#EB9D3D
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A1D55

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

Preview Lab → · Contrast checker → · Palette generator →

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