#971A4E#971A4E

#971A4E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.163 H 2.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#971A4E
RGBrgb(151, 26, 78)
HSLhsl(335, 71%, 35%)
HSVhsv(335, 83%, 59%)
CMYKcmyk(0%, 82.8%, 48.3%, 40.8%)
CIE-LABlab(33.71, 52.94, 2.08)
CIE-LCHlch(33.71, 52.98, 2.25°)
OKLaboklab(44.98% 0.1626 0.0059)
OKLCHoklch(44.98% 0.163 2.1)
XYZxyz(14.5083, 7.8702, 7.9614)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A4E #1A9763
analogous
#971A8D #971A4E #97251A
triadic
#971A4E #4E971A #1A4E97
tetradic
#971A4E #8D971A #1A9763 #251A97
square
#971A4E #8D971A #1A9763 #251A97
split-complementary
#971A4E #1A9725 #1A8D97
monochromatic
#2F0818 #631133 #971A4E #CB2369 #E04B89

Accessibility & contrast

On white

8.16
#971A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#971A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A4E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A4E#FFFFFF#000000##FFFFFF
##971A4E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404F
Deuteranopia (green-blind)
#5B584B
Tritanopia (blue-blind)
#A50032
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971a4e;
/* rgb */ color: rgb(151, 26, 78);
/* oklch */ color: oklch(45.0% 0.163 2.1);
Tailwind
colors: {
  custom: {
    50: '#bb667f',
    500: '#971a4e',
    950: '#000000',
  },
}
SCSS
$custom: #971a4e;
$custom-light: #bb667f;
$custom-dark: #000000;
JSON
{
  "hex": "#971a4e",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 335.04,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44984,
    "c": 0.1627,
    "h": 2.1
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#971A4E
secondary
#4BC290
accent
#EDA33A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#971A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva