#971C52#971C52

#971C52 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.162 H 0.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#971C52
RGBrgb(151, 28, 82)
HSLhsl(334, 69%, 35%)
HSVhsv(334, 81%, 59%)
CMYKcmyk(0%, 81.5%, 45.7%, 40.8%)
CIE-LABlab(34.03, 52.77, -0.07)
CIE-LCHlch(34.03, 52.77, 359.92°)
OKLaboklab(45.26% 0.1622 0.0004)
OKLCHoklch(45.26% 0.162 0.1)
XYZxyz(14.7019, 8.0210, 8.7550)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C52 #1C9761
analogous
#971C8F #971C52 #97241C
triadic
#971C52 #52971C #1C5297
tetradic
#971C52 #8F971C #1C9761 #241C97
square
#971C52 #8F971C #1C9761 #241C97
split-complementary
#971C52 #1C9724 #1C8F97
monochromatic
#30091A #631236 #971C52 #CB266E #DE4F8E

Accessibility & contrast

On white

8.07
#971C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#971C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C52
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C52#FFFFFF#000000##FFFFFF
##971C521.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5B584F
Tritanopia (blue-blind)
#A40035
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971c52;
/* rgb */ color: rgb(151, 28, 82);
/* oklch */ color: oklch(45.3% 0.162 0.1);
Tailwind
colors: {
  custom: {
    50: '#bb6782',
    500: '#971c52',
    950: '#000000',
  },
}
SCSS
$custom: #971c52;
$custom-light: #bb6782;
$custom-dark: #000000;
JSON
{
  "hex": "#971c52",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 333.659,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45256,
    "c": 0.16222,
    "h": 0.1
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#971C52
secondary
#4EC18E
accent
#EC9F3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971C52

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

Preview Lab → · Contrast checker → · Palette generator →

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