#982052#982052

#982052 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.159 H 1.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#982052
RGBrgb(152, 32, 82)
HSLhsl(335, 65%, 36%)
HSVhsv(335, 79%, 60%)
CMYKcmyk(0%, 78.9%, 46.1%, 40.4%)
CIE-LABlab(34.64, 51.86, 0.85)
CIE-LCHlch(34.64, 51.87, 0.94°)
OKLaboklab(45.74% 0.1593 0.0028)
OKLCHoklch(45.74% 0.159 1)
XYZxyz(14.9896, 8.3196, 8.7975)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982052 #209866
analogous
#98208E #982052 #982A20
triadic
#982052 #529820 #205298
tetradic
#982052 #8E9820 #209866 #2A2098
square
#982052 #8E9820 #209866 #2A2098
split-complementary
#982052 #20982A #208E98
monochromatic
#330B1B #651537 #982052 #CB2B6D #DC578E

Accessibility & contrast

On white

7.88
#982052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#982052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982052
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982052#FFFFFF#000000##FFFFFF
##9820521.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4353
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#A50436
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982052;
/* rgb */ color: rgb(152, 32, 82);
/* oklch */ color: oklch(45.7% 0.159 1.0);
Tailwind
colors: {
  custom: {
    50: '#bc6882',
    500: '#982052',
    950: '#000000',
  },
}
SCSS
$custom: #982052;
$custom-light: #bc6882;
$custom-dark: #000000;
JSON
{
  "hex": "#982052",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 335,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.15928,
    "h": 1
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#982052
secondary
#54BF93
accent
#E8A240
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982052

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

Preview Lab → · Contrast checker → · Palette generator →

#982052 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva