#9A1D74#9A1D74

#9A1D74 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.180 H 343.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9A1D74
RGBrgb(154, 29, 116)
HSLhsl(318, 68%, 36%)
HSVhsv(318, 81%, 60%)
CMYKcmyk(0%, 81.2%, 24.7%, 39.6%)
CIE-LABlab(36.01, 57.10, -18.80)
CIE-LCHlch(36.01, 60.11, 341.78°)
OKLaboklab(47.23% 0.1727 -0.0503)
OKLCHoklch(47.23% 0.18 343.8)
XYZxyz(16.9189, 9.0116, 17.3680)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D74 #1D9A43
analogous
#811D9A #9A1D74 #9A1D35
triadic
#9A1D74 #749A1D #1D749A
tetradic
#9A1D74 #9A811D #1D9A43 #1D359A
square
#9A1D74 #9A811D #1D9A43 #1D359A
split-complementary
#9A1D74 #359A1D #1D9A81
monochromatic
#330A26 #66134D #9A1D74 #CE279B #DF53B4

Accessibility & contrast

On white

7.49
#9A1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9A1D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D74
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D74#FFFFFF#000000##FFFFFF
##9A1D741.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4876
Deuteranopia (green-blind)
#545C71
Tritanopia (blue-blind)
#A41C47
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1d74;
/* rgb */ color: rgb(154, 29, 116);
/* oklch */ color: oklch(47.2% 0.180 343.8);
Tailwind
colors: {
  custom: {
    50: '#bc699c',
    500: '#9a1d74',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d74;
$custom-light: #bc699c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d74",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 318.24,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47227,
    "c": 0.17992,
    "h": 343.8
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#9A1D74
secondary
#51C273
accent
#EB723D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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