#982048#982048

#982048 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.157 H 6.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#982048
RGBrgb(152, 32, 72)
HSLhsl(340, 65%, 36%)
HSVhsv(340, 79%, 60%)
CMYKcmyk(0%, 78.9%, 52.6%, 40.4%)
CIE-LABlab(34.35, 50.97, 6.93)
CIE-LCHlch(34.35, 51.44, 7.75°)
OKLaboklab(45.43% 0.1556 0.018)
OKLCHoklch(45.43% 0.157 6.6)
XYZxyz(14.6364, 8.1784, 6.9375)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982048 #209870
analogous
#982084 #982048 #983420
triadic
#982048 #489820 #204898
tetradic
#982048 #849820 #209870 #342098
square
#982048 #849820 #209870 #342098
split-complementary
#982048 #209834 #208498
monochromatic
#330B18 #651530 #982048 #CB2B60 #DC5783

Accessibility & contrast

On white

7.97
#982048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#982048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982048
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982048#FFFFFF#000000##FFFFFF
##9820481.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982048;
/* rgb */ color: rgb(152, 32, 72);
/* oklch */ color: oklch(45.4% 0.157 6.6);
Tailwind
colors: {
  custom: {
    50: '#bc687a',
    500: '#982048',
    950: '#000000',
  },
}
SCSS
$custom: #982048;
$custom-light: #bc687a;
$custom-dark: #000000;
JSON
{
  "hex": "#982048",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 340,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.1566,
    "h": 6.6
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#982048
secondary
#54BF9C
accent
#E8B040
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #982048

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

Preview Lab → · Contrast checker → · Palette generator →

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