#971D6F#971D6F

#971D6F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.175 H 345.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#971D6F
RGBrgb(151, 29, 111)
HSLhsl(320, 68%, 35%)
HSVhsv(320, 81%, 59%)
CMYKcmyk(0%, 80.8%, 26.5%, 40.8%)
CIE-LABlab(35.22, 55.73, -16.91)
CIE-LCHlch(35.22, 58.23, 343.12°)
OKLaboklab(46.48% 0.1692 -0.045)
OKLCHoklch(46.48% 0.175 345.1)
XYZxyz(16.0718, 8.6075, 15.8509)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D6F #1D9745
analogous
#821D97 #971D6F #971D32
triadic
#971D6F #6F971D #1D6F97
tetradic
#971D6F #97821D #1D9745 #1D3297
square
#971D6F #97821D #1D9745 #1D3297
split-complementary
#971D6F #32971D #1D9782
monochromatic
#300924 #641349 #971D6F #CA2795 #DE51AF

Accessibility & contrast

On white

7.72
#971D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D6F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D6F#FFFFFF#000000##FFFFFF
##971D6F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971d6f;
/* rgb */ color: rgb(151, 29, 111);
/* oklch */ color: oklch(46.5% 0.175 345.1);
Tailwind
colors: {
  custom: {
    50: '#ba6898',
    500: '#971d6f',
    950: '#000000',
  },
}
SCSS
$custom: #971d6f;
$custom-light: #ba6898;
$custom-dark: #000000;
JSON
{
  "hex": "#971d6f",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 319.672,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.17504,
    "h": 345.1
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#971D6F
secondary
#4FC074
accent
#EB763D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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