#971F4E#971F4E

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

Color values

HEX#971F4E
RGBrgb(151, 31, 78)
HSLhsl(337, 66%, 36%)
HSVhsv(337, 79%, 59%)
CMYKcmyk(0%, 79.5%, 48.3%, 40.8%)
CIE-LABlab(34.21, 51.52, 2.80)
CIE-LCHlch(34.21, 51.59, 3.11°)
OKLaboklab(45.35% 0.158 0.0077)
OKLCHoklch(45.35% 0.158 2.8)
XYZxyz(14.6289, 8.1113, 8.0016)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F4E #1F9768
analogous
#971F8A #971F4E #972C1F
triadic
#971F4E #4E971F #1F4E97
tetradic
#971F4E #8A971F #1F9768 #2C1F97
square
#971F4E #8A971F #1F9768 #2C1F97
split-complementary
#971F4E #1F972C #1F8A97
monochromatic
#310A1A #641534 #971F4E #CA2968 #DC548A

Accessibility & contrast

On white

8.01
#971F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F4E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F4E#FFFFFF#000000##FFFFFF
##971F4E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#5C594B
Tritanopia (blue-blind)
#A50034
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971f4e;
/* rgb */ color: rgb(151, 31, 78);
/* oklch */ color: oklch(45.4% 0.158 2.8);
Tailwind
colors: {
  custom: {
    50: '#bb687f',
    500: '#971f4e',
    950: '#000000',
  },
}
SCSS
$custom: #971f4e;
$custom-light: #bb687f;
$custom-dark: #000000;
JSON
{
  "hex": "#971f4e",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 336.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.15817,
    "h": 2.8
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#971F4E
secondary
#52BF95
accent
#E9A63F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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