#971B6E#971B6E

#971B6E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.176 H 345.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#971B6E
RGBrgb(151, 27, 110)
HSLhsl(320, 70%, 35%)
HSVhsv(320, 82%, 59%)
CMYKcmyk(0%, 82.1%, 27.2%, 40.8%)
CIE-LABlab(34.98, 56.14, -16.63)
CIE-LCHlch(34.98, 58.55, 343.50°)
OKLaboklab(46.3% 0.1706 -0.0442)
OKLCHoklch(46.3% 0.176 345.5)
XYZxyz(15.9696, 8.4908, 15.5467)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B6E #1B9744
analogous
#821B97 #971B6E #971B30
triadic
#971B6E #6E971B #1B6E97
tetradic
#971B6E #97821B #1B9744 #1B3097
square
#971B6E #97821B #1B9744 #1B3097
split-complementary
#971B6E #30971B #1B9782
monochromatic
#2F0822 #631248 #971B6E #CB2494 #DF4DAF

Accessibility & contrast

On white

7.78
#971B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#971B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B6E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B6E#FFFFFF#000000##FFFFFF
##971B6E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#535A6B
Tritanopia (blue-blind)
#A21843
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971b6e;
/* rgb */ color: rgb(151, 27, 110);
/* oklch */ color: oklch(46.3% 0.176 345.5);
Tailwind
colors: {
  custom: {
    50: '#ba6797',
    500: '#971b6e',
    950: '#000000',
  },
}
SCSS
$custom: #971b6e;
$custom-light: #ba6797;
$custom-dark: #000000;
JSON
{
  "hex": "#971b6e",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 319.839,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46297,
    "c": 0.17628,
    "h": 345.5
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#971B6E
secondary
#4CC173
accent
#EC763B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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