#971D6E#971D6E

#971D6E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.174 H 345.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#971D6E
RGBrgb(151, 29, 110)
HSLhsl(320, 68%, 35%)
HSVhsv(320, 81%, 59%)
CMYKcmyk(0%, 80.8%, 27.2%, 40.8%)
CIE-LABlab(35.17, 55.60, -16.34)
CIE-LCHlch(35.17, 57.95, 343.62°)
OKLaboklab(46.43% 0.169 -0.0434)
OKLCHoklch(46.43% 0.174 345.6)
XYZxyz(16.0171, 8.5856, 15.5625)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D6E #1D9746
analogous
#831D97 #971D6E #971D31
triadic
#971D6E #6E971D #1D6E97
tetradic
#971D6E #97831D #1D9746 #1D3197
square
#971D6E #97831D #1D9746 #1D3197
split-complementary
#971D6E #31971D #1D9783
monochromatic
#300923 #641349 #971D6E #CA2793 #DE51AE

Accessibility & contrast

On white

7.73
#971D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#971D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D6E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D6E#FFFFFF#000000##FFFFFF
##971D6E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4670
Deuteranopia (green-blind)
#545A6B
Tritanopia (blue-blind)
#A21A44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971d6e;
/* rgb */ color: rgb(151, 29, 110);
/* oklch */ color: oklch(46.4% 0.174 345.6);
Tailwind
colors: {
  custom: {
    50: '#ba6897',
    500: '#971d6e',
    950: '#000000',
  },
}
SCSS
$custom: #971d6e;
$custom-light: #ba6897;
$custom-dark: #000000;
JSON
{
  "hex": "#971d6e",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 320.164,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46434,
    "c": 0.17444,
    "h": 345.6
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#971D6E
secondary
#4FC075
accent
#EB773D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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