#9A1D85#9A1D85

#9A1D85 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.191 H 336.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9A1D85
RGBrgb(154, 29, 133)
HSLhsl(310, 68%, 36%)
HSVhsv(310, 81%, 60%)
CMYKcmyk(0%, 81.2%, 13.6%, 39.6%)
CIE-LABlab(36.83, 59.44, -28.14)
CIE-LCHlch(36.83, 65.76, 334.67°)
OKLaboklab(48.08% 0.1748 -0.0768)
OKLCHoklch(48.08% 0.191 336.3)
XYZxyz(17.9998, 9.4439, 23.0606)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D85 #1D9A32
analogous
#701D9A #9A1D85 #9A1D46
triadic
#9A1D85 #859A1D #1D859A
tetradic
#9A1D85 #9A701D #1D9A32 #1D469A
square
#9A1D85 #9A701D #1D9A32 #1D469A
split-complementary
#9A1D85 #469A1D #1D9A70
monochromatic
#330A2C #661359 #9A1D85 #CE27B1 #DF53C7

Accessibility & contrast

On white

7.27
#9A1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9A1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D85
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D85#FFFFFF#000000##FFFFFF
##9A1D851.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B88
Deuteranopia (green-blind)
#4E5D82
Tritanopia (blue-blind)
#A22751
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1d85;
/* rgb */ color: rgb(154, 29, 133);
/* oklch */ color: oklch(48.1% 0.191 336.3);
Tailwind
colors: {
  custom: {
    50: '#bc69a9',
    500: '#9a1d85',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d85;
$custom-light: #bc69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d85",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 310.08,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48082,
    "c": 0.19091,
    "h": 336.3
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#9A1D85
secondary
#51C264
accent
#EB5A3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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