#982352#982352

#982352 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.156 H 1.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#982352
RGBrgb(152, 35, 82)
HSLhsl(336, 63%, 37%)
HSVhsv(336, 77%, 60%)
CMYKcmyk(0%, 77%, 46.1%, 40.4%)
CIE-LABlab(34.98, 50.90, 1.34)
CIE-LCHlch(34.98, 50.92, 1.51°)
OKLaboklab(45.99% 0.1562 0.004)
OKLCHoklch(45.99% 0.156 1.5)
XYZxyz(15.0741, 8.4887, 8.8257)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982352 #239869
analogous
#98238D #982352 #982E23
triadic
#982352 #529823 #235298
tetradic
#982352 #8D9823 #239869 #2E2398
square
#982352 #8D9823 #239869 #2E2398
split-complementary
#982352 #23982E #238D98
monochromatic
#350C1C #661837 #982352 #CA2E6D #D95C8E

Accessibility & contrast

On white

7.79
#982352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#982352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982352
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982352#FFFFFF#000000##FFFFFF
##9823521.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#A50B37
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982352;
/* rgb */ color: rgb(152, 35, 82);
/* oklch */ color: oklch(46.0% 0.156 1.5);
Tailwind
colors: {
  custom: {
    50: '#bc6982',
    500: '#982352',
    950: '#000000',
  },
}
SCSS
$custom: #982352;
$custom-light: #bc6982;
$custom-dark: #000000;
JSON
{
  "hex": "#982352",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 335.897,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45991,
    "c": 0.15622,
    "h": 1.5
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#982352
secondary
#59BE95
accent
#E6A442
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982352

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

Preview Lab → · Contrast checker → · Palette generator →

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