#98174A#98174A

#98174A is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.165 H 4.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#98174A
RGBrgb(152, 23, 74)
HSLhsl(336, 74%, 34%)
HSVhsv(336, 85%, 60%)
CMYKcmyk(0%, 84.9%, 51.3%, 40.4%)
CIE-LABlab(33.53, 53.63, 4.46)
CIE-LCHlch(33.53, 53.81, 4.75°)
OKLaboklab(44.85% 0.1644 0.0119)
OKLCHoklch(44.85% 0.165 4.1)
XYZxyz(14.4926, 7.7847, 7.2167)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98174A #179865
analogous
#98178B #98174A #982517
triadic
#98174A #4A9817 #174A98
tetradic
#98174A #8B9817 #179865 #251798
square
#98174A #8B9817 #179865 #251798
split-complementary
#98174A #179825 #178B98
monochromatic
#2E0716 #630F30 #98174A #CD1F64 #E34684

Accessibility & contrast

On white

8.21
#98174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#98174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98174A
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98174A#FFFFFF#000000##FFFFFF
##98174A1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4B
Deuteranopia (green-blind)
#5C5847
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #98174a;
/* rgb */ color: rgb(152, 23, 74);
/* oklch */ color: oklch(44.9% 0.165 4.1);
Tailwind
colors: {
  custom: {
    50: '#bc657c',
    500: '#98174a',
    950: '#000000',
  },
}
SCSS
$custom: #98174a;
$custom-light: #bc657c;
$custom-dark: #000000;
JSON
{
  "hex": "#98174a",
  "rgb": {
    "r": 152,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 336.279,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.1648,
    "h": 4.1
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#98174A
secondary
#47C493
accent
#F0A737
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130609
muted
#827A7B

Preview Lab

Preview with #98174A

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

Preview Lab → · Contrast checker → · Palette generator →

#98174A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva