#971F48#971F48

#971F48 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.157 H 6.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#971F48
RGBrgb(151, 31, 72)
HSLhsl(340, 66%, 36%)
HSVhsv(340, 79%, 59%)
CMYKcmyk(0%, 79.5%, 52.3%, 40.8%)
CIE-LABlab(34.04, 50.99, 6.47)
CIE-LCHlch(34.04, 51.40, 7.23°)
OKLaboklab(45.17% 0.1557 0.0168)
OKLCHoklch(45.17% 0.157 6.2)
XYZxyz(14.4235, 8.0292, 6.9199)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F48 #1F976E
analogous
#971F84 #971F48 #97321F
triadic
#971F48 #48971F #1F4897
tetradic
#971F48 #84971F #1F976E #321F97
square
#971F48 #84971F #1F976E #321F97
split-complementary
#971F48 #1F9732 #1F8497
monochromatic
#310A18 #641530 #971F48 #CA2960 #DC5483

Accessibility & contrast

On white

8.06
#971F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#971F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F48
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F48#FFFFFF#000000##FFFFFF
##971F481.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4149
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A50031
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971f48;
/* rgb */ color: rgb(151, 31, 72);
/* oklch */ color: oklch(45.2% 0.157 6.2);
Tailwind
colors: {
  custom: {
    50: '#bb677a',
    500: '#971f48',
    950: '#000000',
  },
}
SCSS
$custom: #971f48;
$custom-light: #bb677a;
$custom-dark: #000000;
JSON
{
  "hex": "#971f48",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 339.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.15664,
    "h": 6.2
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#971F48
secondary
#52BF9A
accent
#E9AF3F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #971F48

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

Preview Lab → · Contrast checker → · Palette generator →

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