#971B4F#971B4F

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

Color values

HEX#971B4F
RGBrgb(151, 27, 79)
HSLhsl(335, 70%, 35%)
HSVhsv(335, 82%, 59%)
CMYKcmyk(0%, 82.1%, 47.7%, 40.8%)
CIE-LABlab(33.84, 52.76, 1.61)
CIE-LCHlch(33.84, 52.79, 1.74°)
OKLaboklab(45.09% 0.1621 0.0047)
OKLCHoklch(45.09% 0.162 1.7)
XYZxyz(14.5669, 7.9297, 8.1591)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B4F #1B9763
analogous
#971B8D #971B4F #97251B
triadic
#971B4F #4F971B #1B4F97
tetradic
#971B4F #8D971B #1B9763 #251B97
square
#971B4F #8D971B #1B9763 #251B97
split-complementary
#971B4F #1B9725 #1B8D97
monochromatic
#2F0819 #631234 #971B4F #CB246A #DF4D8A

Accessibility & contrast

On white

8.12
#971B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#971B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B4F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B4F#FFFFFF#000000##FFFFFF
##971B4F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4050
Deuteranopia (green-blind)
#5B584C
Tritanopia (blue-blind)
#A40033
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971b4f;
/* rgb */ color: rgb(151, 27, 79);
/* oklch */ color: oklch(45.1% 0.162 1.7);
Tailwind
colors: {
  custom: {
    50: '#bb6680',
    500: '#971b4f',
    950: '#000000',
  },
}
SCSS
$custom: #971b4f;
$custom-light: #bb6680;
$custom-dark: #000000;
JSON
{
  "hex": "#971b4f",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 334.839,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45086,
    "c": 0.16214,
    "h": 1.7
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#971B4F
secondary
#4CC190
accent
#ECA23B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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