#971F4F#971F4F

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

Color values

HEX#971F4F
RGBrgb(151, 31, 79)
HSLhsl(336, 66%, 36%)
HSVhsv(336, 79%, 59%)
CMYKcmyk(0%, 79.5%, 47.7%, 40.8%)
CIE-LABlab(34.24, 51.61, 2.20)
CIE-LCHlch(34.24, 51.65, 2.44°)
OKLaboklab(45.38% 0.1583 0.0062)
OKLCHoklch(45.38% 0.158 2.2)
XYZxyz(14.6650, 8.1258, 8.1918)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F4F #1F9767
analogous
#971F8B #971F4F #972B1F
triadic
#971F4F #4F971F #1F4F97
tetradic
#971F4F #8B971F #1F9767 #2B1F97
square
#971F4F #8B971F #1F9767 #2B1F97
split-complementary
#971F4F #1F972B #1F8B97
monochromatic
#310A1A #641534 #971F4F #CA296A #DC548B

Accessibility & contrast

On white

8.00
#971F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F4F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F4F#FFFFFF#000000##FFFFFF
##971F4F1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4250
Deuteranopia (green-blind)
#5C594C
Tritanopia (blue-blind)
#A40034
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971f4f;
/* rgb */ color: rgb(151, 31, 79);
/* oklch */ color: oklch(45.4% 0.158 2.2);
Tailwind
colors: {
  custom: {
    50: '#bb6880',
    500: '#971f4f',
    950: '#000000',
  },
}
SCSS
$custom: #971f4f;
$custom-light: #bb6880;
$custom-dark: #000000;
JSON
{
  "hex": "#971f4f",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 336,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.15846,
    "h": 2.2
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#971F4F
secondary
#52BF94
accent
#E9A53F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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