#971F4C#971F4C

#971F4C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.158 H 3.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#971F4C
RGBrgb(151, 31, 76)
HSLhsl(338, 66%, 36%)
HSVhsv(338, 79%, 59%)
CMYKcmyk(0%, 79.5%, 49.7%, 40.8%)
CIE-LABlab(34.16, 51.34, 4.02)
CIE-LCHlch(34.16, 51.49, 4.48°)
OKLaboklab(45.29% 0.1572 0.0108)
OKLCHoklch(45.29% 0.158 3.9)
XYZxyz(14.5583, 8.0831, 7.6297)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F4C #1F976A
analogous
#971F88 #971F4C #972E1F
triadic
#971F4C #4C971F #1F4C97
tetradic
#971F4C #88971F #1F976A #2E1F97
square
#971F4C #88971F #1F976A #2E1F97
split-complementary
#971F4C #1F972E #1F8897
monochromatic
#310A19 #641532 #971F4C #CA2966 #DC5487

Accessibility & contrast

On white

8.03
#971F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#971F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F4C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F4C#FFFFFF#000000##FFFFFF
##971F4C1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414D
Deuteranopia (green-blind)
#5D5949
Tritanopia (blue-blind)
#A50033
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971f4c;
/* rgb */ color: rgb(151, 31, 76);
/* oklch */ color: oklch(45.3% 0.158 3.9);
Tailwind
colors: {
  custom: {
    50: '#bb687d',
    500: '#971f4c',
    950: '#000000',
  },
}
SCSS
$custom: #971f4c;
$custom-light: #bb687d;
$custom-dark: #000000;
JSON
{
  "hex": "#971f4c",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 337.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45291,
    "c": 0.15761,
    "h": 3.9
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#971F4C
secondary
#52BF97
accent
#E9A93F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #971F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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