#9A1D47#9A1D47

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

Color values

HEX#9A1D47
RGBrgb(154, 29, 71)
HSLhsl(340, 68%, 36%)
HSVhsv(340, 81%, 60%)
CMYKcmyk(0%, 81.2%, 53.9%, 39.6%)
CIE-LABlab(34.41, 52.35, 7.72)
CIE-LCHlch(34.41, 52.92, 8.39°)
OKLaboklab(45.54% 0.1597 0.0199)
OKLCHoklch(45.54% 0.161 7.1)
XYZxyz(14.9045, 8.2058, 6.7591)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D47 #1D9A70
analogous
#9A1D85 #9A1D47 #9A311D
triadic
#9A1D47 #479A1D #1D479A
tetradic
#9A1D47 #859A1D #1D9A70 #311D9A
square
#9A1D47 #859A1D #1D9A70 #311D9A
split-complementary
#9A1D47 #1D9A31 #1D859A
monochromatic
#330A18 #66132F #9A1D47 #CE275F #DF5382

Accessibility & contrast

On white

7.95
#9A1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9A1D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D47
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D47#FFFFFF#000000##FFFFFF
##9A1D471.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#5F5A44
Tritanopia (blue-blind)
#A80030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1d47;
/* rgb */ color: rgb(154, 29, 71);
/* oklch */ color: oklch(45.5% 0.161 7.1);
Tailwind
colors: {
  custom: {
    50: '#be6779',
    500: '#9a1d47',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d47;
$custom-light: #be6779;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d47",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 339.84,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.16093,
    "h": 7.1
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#9A1D47
secondary
#51C29C
accent
#EBB13D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1D47

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

Preview Lab → · Contrast checker → · Palette generator →

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