#971E52#971E52

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

Color values

HEX#971E52
RGBrgb(151, 30, 82)
HSLhsl(334, 67%, 35%)
HSVhsv(334, 80%, 59%)
CMYKcmyk(0%, 80.1%, 45.7%, 40.8%)
CIE-LABlab(34.23, 52.19, 0.23)
CIE-LCHlch(34.23, 52.19, 0.25°)
OKLaboklab(45.4% 0.1604 0.0012)
OKLCHoklch(45.4% 0.16 0.4)
XYZxyz(14.7509, 8.1190, 8.7714)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E52 #1E9763
analogous
#971E8E #971E52 #97261E
triadic
#971E52 #52971E #1E5297
tetradic
#971E52 #8E971E #1E9763 #261E97
square
#971E52 #8E971E #1E9763 #261E97
split-complementary
#971E52 #1E9726 #1E8E97
monochromatic
#310A1B #641436 #971E52 #CA286E #DD538E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971E52#FFFFFF#000000##FFFFFF
##971E521.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)
#3B4253
Deuteranopia (green-blind)
#5B594F
Tritanopia (blue-blind)
#A40135
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971e52;
/* rgb */ color: rgb(151, 30, 82);
/* oklch */ color: oklch(45.4% 0.160 0.4);
Tailwind
colors: {
  custom: {
    50: '#bb6782',
    500: '#971e52',
    950: '#000000',
  },
}
SCSS
$custom: #971e52;
$custom-light: #bb6782;
$custom-dark: #000000;
JSON
{
  "hex": "#971e52",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 334.215,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.16037,
    "h": 0.4
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#971E52
secondary
#51C090
accent
#EAA03E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971E52

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

Preview Lab → · Contrast checker → · Palette generator →

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