#971D42#971D42

#971D42 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.157 H 9.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#971D42
RGBrgb(151, 29, 66)
HSLhsl(342, 68%, 35%)
HSVhsv(342, 81%, 59%)
CMYKcmyk(0%, 80.8%, 56.3%, 40.8%)
CIE-LABlab(33.68, 51.11, 9.87)
CIE-LCHlch(33.68, 52.05, 10.93°)
OKLaboklab(44.85% 0.1553 0.025)
OKLCHoklch(44.85% 0.157 9.2)
XYZxyz(14.1866, 7.8534, 5.9221)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D42 #1D9772
analogous
#971D7F #971D42 #97351D
triadic
#971D42 #42971D #1D4297
tetradic
#971D42 #7F971D #1D9772 #351D97
square
#971D42 #7F971D #1D9772 #351D97
split-complementary
#971D42 #1D9735 #1D7F97
monochromatic
#300915 #64132C #971D42 #CA2758 #DE517C

Accessibility & contrast

On white

8.17
#971D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D42
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D42#FFFFFF#000000##FFFFFF
##971D421.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4043
Deuteranopia (green-blind)
#5E583F
Tritanopia (blue-blind)
#A5002D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971d42;
/* rgb */ color: rgb(151, 29, 66);
/* oklch */ color: oklch(44.9% 0.157 9.2);
Tailwind
colors: {
  custom: {
    50: '#bc6676',
    500: '#971d42',
    950: '#000000',
  },
}
SCSS
$custom: #971d42;
$custom-light: #bc6676;
$custom-dark: #000000;
JSON
{
  "hex": "#971d42",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 341.803,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.15732,
    "h": 9.2
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#971D42
secondary
#4FC09E
accent
#EBB63D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #971D42

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

Preview Lab → · Contrast checker → · Palette generator →

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