#97174E#97174E

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

Color values

HEX#97174E
RGBrgb(151, 23, 78)
HSLhsl(334, 74%, 34%)
HSVhsv(334, 85%, 59%)
CMYKcmyk(0%, 84.8%, 48.3%, 40.8%)
CIE-LABlab(33.44, 53.71, 1.69)
CIE-LCHlch(33.44, 53.73, 1.80°)
OKLaboklab(44.79% 0.1651 0.0049)
OKLCHoklch(44.79% 0.165 1.7)
XYZxyz(14.4453, 7.7442, 7.9404)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97174E #179760
analogous
#97178E #97174E #972017
triadic
#97174E #4E9717 #174E97
tetradic
#97174E #8E9717 #179760 #201797
square
#97174E #8E9717 #179760 #201797
split-complementary
#97174E #179720 #178E97
monochromatic
#2D0717 #620F33 #97174E #CC1F69 #E34689

Accessibility & contrast

On white

8.24
#97174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#97174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97174E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97174E#FFFFFF#000000##FFFFFF
##97174E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#5B574B
Tritanopia (blue-blind)
#A50031
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #97174e;
/* rgb */ color: rgb(151, 23, 78);
/* oklch */ color: oklch(44.8% 0.165 1.7);
Tailwind
colors: {
  custom: {
    50: '#bb657f',
    500: '#97174e',
    950: '#000000',
  },
}
SCSS
$custom: #97174e;
$custom-light: #bb657f;
$custom-dark: #000000;
JSON
{
  "hex": "#97174e",
  "rgb": {
    "r": 151,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 334.219,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44789,
    "c": 0.16512,
    "h": 1.7
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#97174E
secondary
#46C48E
accent
#F0A138
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13060A
muted
#827A7C

Preview Lab

Preview with #97174E

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

Preview Lab → · Contrast checker → · Palette generator →

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