#971F4B#971F4B

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

Color values

HEX#971F4B
RGBrgb(151, 31, 75)
HSLhsl(338, 66%, 36%)
HSVhsv(338, 79%, 59%)
CMYKcmyk(0%, 79.5%, 50.3%, 40.8%)
CIE-LABlab(34.13, 51.25, 4.63)
CIE-LCHlch(34.13, 51.46, 5.16°)
OKLaboklab(45.26% 0.1569 0.0123)
OKLCHoklch(45.26% 0.157 4.5)
XYZxyz(14.5238, 8.0693, 7.4480)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F4B #1F976B
analogous
#971F87 #971F4B #972F1F
triadic
#971F4B #4B971F #1F4B97
tetradic
#971F4B #87971F #1F976B #2F1F97
square
#971F4B #87971F #1F976B #2F1F97
split-complementary
#971F4B #1F972F #1F8797
monochromatic
#310A19 #641532 #971F4B #CA2964 #DC5486

Accessibility & contrast

On white

8.04
#971F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#971F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F4B
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F4B#FFFFFF#000000##FFFFFF
##971F4B1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#5D5948
Tritanopia (blue-blind)
#A50032
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971f4b;
/* rgb */ color: rgb(151, 31, 75);
/* oklch */ color: oklch(45.3% 0.157 4.5);
Tailwind
colors: {
  custom: {
    50: '#bb687d',
    500: '#971f4b',
    950: '#000000',
  },
}
SCSS
$custom: #971f4b;
$custom-light: #bb687d;
$custom-dark: #000000;
JSON
{
  "hex": "#971f4b",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 338,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45261,
    "c": 0.15735,
    "h": 4.5
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #971F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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