#98204C#98204C

#98204C is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.158 H 4.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#98204C
RGBrgb(152, 32, 76)
HSLhsl(338, 65%, 36%)
HSVhsv(338, 79%, 60%)
CMYKcmyk(0%, 78.9%, 50%, 40.4%)
CIE-LABlab(34.46, 51.31, 4.49)
CIE-LCHlch(34.46, 51.51, 5.00°)
OKLaboklab(45.55% 0.1571 0.012)
OKLCHoklch(45.55% 0.158 4.4)
XYZxyz(14.7712, 8.2323, 7.6472)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98204C #20986C
analogous
#982088 #98204C #983020
triadic
#98204C #4C9820 #204C98
tetradic
#98204C #889820 #20986C #302098
square
#98204C #889820 #20986C #302098
split-complementary
#98204C #209830 #208898
monochromatic
#330B19 #651533 #98204C #CB2B65 #DC5787

Accessibility & contrast

On white

7.94
#98204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#98204C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98204C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98204C#FFFFFF#000000##FFFFFF
##98204C1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424D
Deuteranopia (green-blind)
#5E5A49
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #98204c;
/* rgb */ color: rgb(152, 32, 76);
/* oklch */ color: oklch(45.6% 0.158 4.4);
Tailwind
colors: {
  custom: {
    50: '#bc687d',
    500: '#98204c',
    950: '#000000',
  },
}
SCSS
$custom: #98204c;
$custom-light: #bc687d;
$custom-dark: #000000;
JSON
{
  "hex": "#98204c",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 338,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.15753,
    "h": 4.4
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#98204C
secondary
#54BF98
accent
#E8AA40
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #98204C

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

Preview Lab → · Contrast checker → · Palette generator →

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