#971A42#971A42

#971A42 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.160 H 8.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#971A42
RGBrgb(151, 26, 66)
HSLhsl(341, 71%, 35%)
HSVhsv(341, 83%, 59%)
CMYKcmyk(0%, 82.8%, 56.3%, 40.8%)
CIE-LABlab(33.38, 51.95, 9.46)
CIE-LCHlch(33.38, 52.80, 10.32°)
OKLaboklab(44.63% 0.1581 0.024)
OKLCHoklch(44.63% 0.16 8.6)
XYZxyz(14.1166, 7.7135, 5.8987)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A42 #1A976F
analogous
#971A81 #971A42 #97311A
triadic
#971A42 #42971A #1A4297
tetradic
#971A42 #81971A #1A976F #311A97
square
#971A42 #81971A #1A976F #311A97
split-complementary
#971A42 #1A9731 #1A8197
monochromatic
#2F0814 #63112B #971A42 #CB2359 #E04B7B

Accessibility & contrast

On white

8.26
#971A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#971A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A42
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A42#FFFFFF#000000##FFFFFF
##971A421.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3F43
Deuteranopia (green-blind)
#5D573F
Tritanopia (blue-blind)
#A5002C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #971a42;
/* rgb */ color: rgb(151, 26, 66);
/* oklch */ color: oklch(44.6% 0.160 8.6);
Tailwind
colors: {
  custom: {
    50: '#bc6576',
    500: '#971a42',
    950: '#000000',
  },
}
SCSS
$custom: #971a42;
$custom-light: #bc6576;
$custom-dark: #000000;
JSON
{
  "hex": "#971a42",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 340.8,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44632,
    "c": 0.15986,
    "h": 8.6
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#971A42
secondary
#4BC29C
accent
#EDB43A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B

Preview Lab

Preview with #971A42

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

Preview Lab → · Contrast checker → · Palette generator →

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