#971A40#971A40

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

Color values

HEX#971A40
RGBrgb(151, 26, 64)
HSLhsl(342, 71%, 35%)
HSVhsv(342, 83%, 59%)
CMYKcmyk(0%, 82.8%, 57.6%, 40.8%)
CIE-LABlab(33.33, 51.80, 10.70)
CIE-LCHlch(33.33, 52.89, 11.67°)
OKLaboklab(44.58% 0.1573 0.027)
OKLCHoklch(44.58% 0.16 9.7)
XYZxyz(14.0587, 7.6903, 5.5936)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A40 #1A9771
analogous
#971A7F #971A40 #97331A
triadic
#971A40 #40971A #1A4097
tetradic
#971A40 #7F971A #1A9771 #331A97
square
#971A40 #7F971A #1A9771 #331A97
split-complementary
#971A40 #1A9733 #1A7F97
monochromatic
#2F0814 #63112A #971A40 #CB2356 #E04B79

Accessibility & contrast

On white

8.28
#971A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A40
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A40#FFFFFF#000000##FFFFFF
##971A401.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E41
Deuteranopia (green-blind)
#5E573D
Tritanopia (blue-blind)
#A5002B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #971a40;
/* rgb */ color: rgb(151, 26, 64);
/* oklch */ color: oklch(44.6% 0.160 9.7);
Tailwind
colors: {
  custom: {
    50: '#bc6574',
    500: '#971a40',
    950: '#000000',
  },
}
SCSS
$custom: #971a40;
$custom-light: #bc6574;
$custom-dark: #000000;
JSON
{
  "hex": "#971a40",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 341.76,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4458,
    "c": 0.15955,
    "h": 9.7
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#971A40
secondary
#4BC29E
accent
#EDB73A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B

Preview Lab

Preview with #971A40

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

Preview Lab → · Contrast checker → · Palette generator →

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