#971B62#971B62

#971B62 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.170 H 351.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#971B62
RGBrgb(151, 27, 98)
HSLhsl(326, 70%, 35%)
HSVhsv(326, 82%, 59%)
CMYKcmyk(0%, 82.1%, 35.1%, 40.8%)
CIE-LABlab(34.49, 54.71, -9.72)
CIE-LCHlch(34.49, 55.57, 349.92°)
OKLaboklab(45.78% 0.1679 -0.0252)
OKLCHoklch(45.78% 0.17 351.5)
XYZxyz(15.3600, 8.2469, 12.3359)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B62 #1B9750
analogous
#8E1B97 #971B62 #971B24
triadic
#971B62 #62971B #1B6297
tetradic
#971B62 #978E1B #1B9750 #1B2497
square
#971B62 #978E1B #1B9750 #1B2497
split-complementary
#971B62 #24971B #1B978E
monochromatic
#2F081F #631240 #971B62 #CB2484 #DF4DA1

Accessibility & contrast

On white

7.93
#971B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#971B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B62
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B62#FFFFFF#000000##FFFFFF
##971B621.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971b62;
/* rgb */ color: rgb(151, 27, 98);
/* oklch */ color: oklch(45.8% 0.170 351.5);
Tailwind
colors: {
  custom: {
    50: '#ba678e',
    500: '#971b62',
    950: '#000000',
  },
}
SCSS
$custom: #971b62;
$custom-light: #ba678e;
$custom-dark: #000000;
JSON
{
  "hex": "#971b62",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 325.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.16983,
    "h": 351.5
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#971B62
secondary
#4CC17E
accent
#EC873B
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971B62

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

Preview Lab → · Contrast checker → · Palette generator →

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