#9A1D70#9A1D70

#9A1D70 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.178 H 345.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9A1D70
RGBrgb(154, 29, 112)
HSLhsl(320, 68%, 36%)
HSVhsv(320, 81%, 60%)
CMYKcmyk(0%, 81.2%, 27.3%, 39.6%)
CIE-LABlab(35.83, 56.59, -16.55)
CIE-LCHlch(35.83, 58.96, 343.70°)
OKLaboklab(47.04% 0.172 -0.044)
OKLCHoklch(47.04% 0.178 345.7)
XYZxyz(16.6912, 8.9205, 16.1689)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D70 #1D9A47
analogous
#851D9A #9A1D70 #9A1D31
triadic
#9A1D70 #709A1D #1D709A
tetradic
#9A1D70 #9A851D #1D9A47 #1D319A
square
#9A1D70 #9A851D #1D9A47 #1D319A
split-complementary
#9A1D70 #319A1D #1D9A85
monochromatic
#330A25 #66134B #9A1D70 #CE2795 #DF53B0

Accessibility & contrast

On white

7.54
#9A1D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9A1D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D70
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D70#FFFFFF#000000##FFFFFF
##9A1D701.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4772
Deuteranopia (green-blind)
#565C6D
Tritanopia (blue-blind)
#A51945
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1d70;
/* rgb */ color: rgb(154, 29, 112);
/* oklch */ color: oklch(47.0% 0.178 345.7);
Tailwind
colors: {
  custom: {
    50: '#bc6999',
    500: '#9a1d70',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d70;
$custom-light: #bc6999;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d70",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 320.16,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47042,
    "c": 0.17756,
    "h": 345.7
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#9A1D70
secondary
#51C277
accent
#EB773D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9A1D70

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

Preview Lab → · Contrast checker → · Palette generator →

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