#9A1D52#9A1D52

#9A1D52 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 1.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9A1D52
RGBrgb(154, 29, 82)
HSLhsl(335, 68%, 36%)
HSVhsv(335, 81%, 60%)
CMYKcmyk(0%, 81.2%, 46.8%, 39.6%)
CIE-LABlab(34.72, 53.30, 1.01)
CIE-LCHlch(34.72, 53.31, 1.09°)
OKLaboklab(45.87% 0.1638 0.0032)
OKLCHoklch(45.87% 0.164 1.1)
XYZxyz(15.2900, 8.3600, 8.7895)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D52 #1D9A65
analogous
#9A1D90 #9A1D52 #9A261D
triadic
#9A1D52 #529A1D #1D529A
tetradic
#9A1D52 #909A1D #1D9A65 #261D9A
square
#9A1D52 #909A1D #1D9A65 #261D9A
split-complementary
#9A1D52 #1D9A26 #1D909A
monochromatic
#330A1B #661337 #9A1D52 #CE276D #DF538E

Accessibility & contrast

On white

7.86
#9A1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9A1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D52
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D52#FFFFFF#000000##FFFFFF
##9A1D521.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#A80035
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1d52;
/* rgb */ color: rgb(154, 29, 82);
/* oklch */ color: oklch(45.9% 0.164 1.1);
Tailwind
colors: {
  custom: {
    50: '#bd6782',
    500: '#9a1d52',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d52;
$custom-light: #bd6782;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d52",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 334.56,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.16379,
    "h": 1.1
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#9A1D52
secondary
#51C292
accent
#EBA13D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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