#971F5E#971F5E

#971F5E is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 354.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#971F5E
RGBrgb(151, 31, 94)
HSLhsl(329, 66%, 36%)
HSVhsv(329, 79%, 59%)
CMYKcmyk(0%, 79.5%, 37.7%, 40.8%)
CIE-LABlab(34.74, 53.13, -6.78)
CIE-LCHlch(34.74, 53.56, 352.73°)
OKLaboklab(45.91% 0.1632 -0.0173)
OKLCHoklch(45.91% 0.164 354)
XYZxyz(15.2739, 8.3693, 11.3986)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F5E #1F9758
analogous
#941F97 #971F5E #971F22
triadic
#971F5E #5E971F #1F5E97
tetradic
#971F5E #97941F #1F9758 #1F2297
square
#971F5E #97941F #1F9758 #1F2297
split-complementary
#971F5E #22971F #1F9794
monochromatic
#310A1F #64153E #971F5E #CA297E #DC549C

Accessibility & contrast

On white

7.86
#971F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#971F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F5E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F5E#FFFFFF#000000##FFFFFF
##971F5E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374460
Deuteranopia (green-blind)
#595A5B
Tritanopia (blue-blind)
#A3103C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971f5e;
/* rgb */ color: rgb(151, 31, 94);
/* oklch */ color: oklch(45.9% 0.164 354.0);
Tailwind
colors: {
  custom: {
    50: '#ba688b',
    500: '#971f5e',
    950: '#000000',
  },
}
SCSS
$custom: #971f5e;
$custom-light: #ba688b;
$custom-dark: #000000;
JSON
{
  "hex": "#971f5e",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 328.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.16415,
    "h": 354
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#971F5E
secondary
#52BF86
accent
#E9903F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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