#97174B#97174B

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

Color values

HEX#97174B
RGBrgb(151, 23, 75)
HSLhsl(336, 74%, 34%)
HSVhsv(336, 85%, 59%)
CMYKcmyk(0%, 84.8%, 50.3%, 40.8%)
CIE-LABlab(33.35, 53.44, 3.52)
CIE-LCHlch(33.35, 53.56, 3.77°)
OKLaboklab(44.69% 0.164 0.0095)
OKLCHoklch(44.69% 0.164 3.3)
XYZxyz(14.3402, 7.7021, 7.3868)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97174B #179763
analogous
#97178B #97174B #972317
triadic
#97174B #4B9717 #174B97
tetradic
#97174B #8B9717 #179763 #231797
square
#97174B #8B9717 #179763 #231797
split-complementary
#97174B #179723 #178B97
monochromatic
#2D0716 #620F31 #97174B #CC1F65 #E34685

Accessibility & contrast

On white

8.27
#97174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97174B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97174B#FFFFFF#000000##FFFFFF
##97174B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4C
Deuteranopia (green-blind)
#5B5748
Tritanopia (blue-blind)
#A5002F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #97174b;
/* rgb */ color: rgb(151, 23, 75);
/* oklch */ color: oklch(44.7% 0.164 3.3);
Tailwind
colors: {
  custom: {
    50: '#bc657d',
    500: '#97174b',
    950: '#000000',
  },
}
SCSS
$custom: #97174b;
$custom-light: #bc657d;
$custom-dark: #000000;
JSON
{
  "hex": "#97174b",
  "rgb": {
    "r": 151,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 335.625,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.16425,
    "h": 3.3
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#97174B
secondary
#46C491
accent
#F0A538
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130609
muted
#827A7B

Preview Lab

Preview with #97174B

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

Preview Lab → · Contrast checker → · Palette generator →

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