#971B4E#971B4E

#971B4E is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.162 H 2.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#971B4E
RGBrgb(151, 27, 78)
HSLhsl(335, 70%, 35%)
HSVhsv(335, 82%, 59%)
CMYKcmyk(0%, 82.1%, 48.3%, 40.8%)
CIE-LABlab(33.81, 52.67, 2.21)
CIE-LCHlch(33.81, 52.72, 2.41°)
OKLaboklab(45.05% 0.1617 0.0062)
OKLCHoklch(45.05% 0.162 2.2)
XYZxyz(14.5308, 7.9152, 7.9689)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B4E #1B9764
analogous
#971B8C #971B4E #97261B
triadic
#971B4E #4E971B #1B4E97
tetradic
#971B4E #8C971B #1B9764 #261B97
square
#971B4E #8C971B #1B9764 #261B97
split-complementary
#971B4E #1B9726 #1B8C97
monochromatic
#2F0818 #631233 #971B4E #CB2469 #DF4D89

Accessibility & contrast

On white

8.13
#971B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#971B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B4E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B4E#FFFFFF#000000##FFFFFF
##971B4E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404F
Deuteranopia (green-blind)
#5B584B
Tritanopia (blue-blind)
#A50032
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971b4e;
/* rgb */ color: rgb(151, 27, 78);
/* oklch */ color: oklch(45.1% 0.162 2.2);
Tailwind
colors: {
  custom: {
    50: '#bb667f',
    500: '#971b4e',
    950: '#000000',
  },
}
SCSS
$custom: #971b4e;
$custom-light: #bb667f;
$custom-dark: #000000;
JSON
{
  "hex": "#971b4e",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 335.323,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.16183,
    "h": 2.2
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#971B4E
secondary
#4CC191
accent
#ECA43B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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