#971A62#971A62

#971A62 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.171 H 351.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#971A62
RGBrgb(151, 26, 98)
HSLhsl(325, 71%, 35%)
HSVhsv(325, 83%, 59%)
CMYKcmyk(0%, 82.8%, 35.1%, 40.8%)
CIE-LABlab(34.40, 54.97, -9.86)
CIE-LCHlch(34.40, 55.85, 349.83°)
OKLaboklab(45.71% 0.1688 -0.0255)
OKLCHoklch(45.71% 0.171 351.4)
XYZxyz(15.3375, 8.2018, 12.3283)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A62 #1A974F
analogous
#8E1A97 #971A62 #971A24
triadic
#971A62 #62971A #1A6297
tetradic
#971A62 #978E1A #1A974F #1A2497
square
#971A62 #978E1A #1A974F #1A2497
split-complementary
#971A62 #24971A #1A978E
monochromatic
#2F081E #631140 #971A62 #CB2384 #E04BA1

Accessibility & contrast

On white

7.95
#971A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#971A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A62
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A62#FFFFFF#000000##FFFFFF
##971A621.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334364
Deuteranopia (green-blind)
#57595F
Tritanopia (blue-blind)
#A30B3C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971a62;
/* rgb */ color: rgb(151, 26, 98);
/* oklch */ color: oklch(45.7% 0.171 351.4);
Tailwind
colors: {
  custom: {
    50: '#ba678e',
    500: '#971a62',
    950: '#000000',
  },
}
SCSS
$custom: #971a62;
$custom-light: #ba678e;
$custom-dark: #000000;
JSON
{
  "hex": "#971a62",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 325.44,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.1707,
    "h": 351.4
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#971A62
secondary
#4BC27D
accent
#ED863A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971A62

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

Preview Lab → · Contrast checker → · Palette generator →

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