#971748#971748

#971748 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.163 H 5.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#971748
RGBrgb(151, 23, 72)
HSLhsl(337, 74%, 34%)
HSVhsv(337, 85%, 59%)
CMYKcmyk(0%, 84.8%, 52.3%, 40.8%)
CIE-LABlab(33.27, 53.19, 5.37)
CIE-LCHlch(33.27, 53.46, 5.76°)
OKLaboklab(44.6% 0.1629 0.0141)
OKLCHoklch(44.6% 0.163 5)
XYZxyz(14.2399, 7.6620, 6.8587)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971748 #179766
analogous
#971788 #971748 #972617
triadic
#971748 #489717 #174897
tetradic
#971748 #889717 #179766 #261797
square
#971748 #889717 #179766 #261797
split-complementary
#971748 #179726 #178897
monochromatic
#2D0715 #620F2F #971748 #CC1F61 #E34682

Accessibility & contrast

On white

8.29
#971748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#971748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971748
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971748#FFFFFF#000000##FFFFFF
##9717481.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E49
Deuteranopia (green-blind)
#5C5745
Tritanopia (blue-blind)
#A5002E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #971748;
/* rgb */ color: rgb(151, 23, 72);
/* oklch */ color: oklch(44.6% 0.163 5.0);
Tailwind
colors: {
  custom: {
    50: '#bc657a',
    500: '#971748',
    950: '#000000',
  },
}
SCSS
$custom: #971748;
$custom-light: #bc657a;
$custom-dark: #000000;
JSON
{
  "hex": "#971748",
  "rgb": {
    "r": 151,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 337.031,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.16347,
    "h": 5
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#971748
secondary
#46C494
accent
#F0AA38
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130609
muted
#827A7B

Preview Lab

Preview with #971748

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

Preview Lab → · Contrast checker → · Palette generator →

#971748 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva