#971A4F#971A4F

#971A4F is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.163 H 1.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#971A4F
RGBrgb(151, 26, 79)
HSLhsl(335, 71%, 35%)
HSVhsv(335, 83%, 59%)
CMYKcmyk(0%, 82.8%, 47.7%, 40.8%)
CIE-LABlab(33.74, 53.04, 1.47)
CIE-LCHlch(33.74, 53.06, 1.59°)
OKLaboklab(45.02% 0.1629 0.0043)
OKLCHoklch(45.02% 0.163 1.5)
XYZxyz(14.5444, 7.8846, 8.1516)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A4F #1A9762
analogous
#971A8E #971A4F #97241A
triadic
#971A4F #4F971A #1A4F97
tetradic
#971A4F #8E971A #1A9762 #241A97
square
#971A4F #8E971A #1A9762 #241A97
split-complementary
#971A4F #1A9724 #1A8E97
monochromatic
#2F0818 #631134 #971A4F #CB236A #E04B8A

Accessibility & contrast

On white

8.15
#971A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#971A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A4F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A4F#FFFFFF#000000##FFFFFF
##971A4F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4050
Deuteranopia (green-blind)
#5B584C
Tritanopia (blue-blind)
#A50032
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971a4f;
/* rgb */ color: rgb(151, 26, 79);
/* oklch */ color: oklch(45.0% 0.163 1.5);
Tailwind
colors: {
  custom: {
    50: '#bb6680',
    500: '#971a4f',
    950: '#000000',
  },
}
SCSS
$custom: #971a4f;
$custom-light: #bb6680;
$custom-dark: #000000;
JSON
{
  "hex": "#971a4f",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 334.56,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.163,
    "h": 1.5
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#971A4F
secondary
#4BC28F
accent
#EDA23A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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