#97174C#97174C

#97174C is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.165 H 2.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#97174C
RGBrgb(151, 23, 76)
HSLhsl(335, 74%, 34%)
HSVhsv(335, 85%, 59%)
CMYKcmyk(0%, 84.8%, 49.7%, 40.8%)
CIE-LABlab(33.38, 53.53, 2.91)
CIE-LCHlch(33.38, 53.61, 3.11°)
OKLaboklab(44.73% 0.1643 0.008)
OKLCHoklch(44.73% 0.165 2.8)
XYZxyz(14.3747, 7.7159, 7.5685)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97174C #179762
analogous
#97178C #97174C #972217
triadic
#97174C #4C9717 #174C97
tetradic
#97174C #8C9717 #179762 #221797
square
#97174C #8C9717 #179762 #221797
split-complementary
#97174C #179722 #178C97
monochromatic
#2D0717 #620F31 #97174C #CC1F67 #E34687

Accessibility & contrast

On white

8.26
#97174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#97174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97174C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97174C#FFFFFF#000000##FFFFFF
##97174C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4D
Deuteranopia (green-blind)
#5B5749
Tritanopia (blue-blind)
#A50030
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #97174c;
/* rgb */ color: rgb(151, 23, 76);
/* oklch */ color: oklch(44.7% 0.165 2.8);
Tailwind
colors: {
  custom: {
    50: '#bb657d',
    500: '#97174c',
    950: '#000000',
  },
}
SCSS
$custom: #97174c;
$custom-light: #bb657d;
$custom-dark: #000000;
JSON
{
  "hex": "#97174c",
  "rgb": {
    "r": 151,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 335.156,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44725,
    "c": 0.16452,
    "h": 2.8
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#97174C
secondary
#46C490
accent
#F0A438
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130609
muted
#827A7B

Preview Lab

Preview with #97174C

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

Preview Lab → · Contrast checker → · Palette generator →

#97174C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva