#971B42#971B42

#971B42 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.159 H 8.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#971B42
RGBrgb(151, 27, 66)
HSLhsl(341, 70%, 35%)
HSVhsv(341, 82%, 59%)
CMYKcmyk(0%, 82.1%, 56.3%, 40.8%)
CIE-LABlab(33.48, 51.68, 9.59)
CIE-LCHlch(33.48, 52.56, 10.52°)
OKLaboklab(44.7% 0.1572 0.0243)
OKLCHoklch(44.7% 0.159 8.8)
XYZxyz(14.1392, 7.7586, 5.9062)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B42 #1B9770
analogous
#971B80 #971B42 #97321B
triadic
#971B42 #42971B #1B4297
tetradic
#971B42 #80971B #1B9770 #321B97
square
#971B42 #80971B #1B9770 #321B97
split-complementary
#971B42 #1B9732 #1B8097
monochromatic
#2F0815 #63122B #971B42 #CB2459 #DF4D7B

Accessibility & contrast

On white

8.23
#971B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#971B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B42
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B42#FFFFFF#000000##FFFFFF
##971B421.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3F43
Deuteranopia (green-blind)
#5D583F
Tritanopia (blue-blind)
#A5002C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971b42;
/* rgb */ color: rgb(151, 27, 66);
/* oklch */ color: oklch(44.7% 0.159 8.8);
Tailwind
colors: {
  custom: {
    50: '#bc6676',
    500: '#971b42',
    950: '#000000',
  },
}
SCSS
$custom: #971b42;
$custom-light: #bc6676;
$custom-dark: #000000;
JSON
{
  "hex": "#971b42",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 341.129,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.15904,
    "h": 8.8
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#971B42
secondary
#4CC19D
accent
#ECB53B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B

Preview Lab

Preview with #971B42

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

Preview Lab → · Contrast checker → · Palette generator →

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