#9A1D49#9A1D49

#9A1D49 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.161 H 6.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9A1D49
RGBrgb(154, 29, 73)
HSLhsl(339, 68%, 36%)
HSVhsv(339, 81%, 60%)
CMYKcmyk(0%, 81.2%, 52.6%, 39.6%)
CIE-LABlab(34.46, 52.51, 6.49)
CIE-LCHlch(34.46, 52.91, 7.05°)
OKLaboklab(45.6% 0.1605 0.0169)
OKLCHoklch(45.6% 0.161 6)
XYZxyz(14.9698, 8.2319, 7.1027)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D49 #1D9A6E
analogous
#9A1D87 #9A1D49 #9A2F1D
triadic
#9A1D49 #499A1D #1D499A
tetradic
#9A1D49 #879A1D #1D9A6E #2F1D9A
square
#9A1D49 #879A1D #1D9A6E #2F1D9A
split-complementary
#9A1D49 #1D9A2F #1D879A
monochromatic
#330A18 #661331 #9A1D49 #CE2761 #DF5384

Accessibility & contrast

On white

7.94
#9A1D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9A1D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D49
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D49#FFFFFF#000000##FFFFFF
##9A1D491.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E414A
Deuteranopia (green-blind)
#5F5A46
Tritanopia (blue-blind)
#A80031
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1d49;
/* rgb */ color: rgb(154, 29, 73);
/* oklch */ color: oklch(45.6% 0.161 6.0);
Tailwind
colors: {
  custom: {
    50: '#be677b',
    500: '#9a1d49',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d49;
$custom-light: #be677b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d49",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 338.88,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.16135,
    "h": 6
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#9A1D49
secondary
#51C29A
accent
#EBAE3D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1D49

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

Preview Lab → · Contrast checker → · Palette generator →

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