#982047#982047

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

Color values

HEX#982047
RGBrgb(152, 32, 71)
HSLhsl(341, 65%, 36%)
HSVhsv(341, 79%, 60%)
CMYKcmyk(0%, 78.9%, 53.3%, 40.4%)
CIE-LABlab(34.33, 50.88, 7.55)
CIE-LCHlch(34.33, 51.44, 8.43°)
OKLaboklab(45.41% 0.1552 0.0195)
OKLCHoklch(45.41% 0.156 7.2)
XYZxyz(14.6041, 8.1654, 6.7671)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982047 #209871
analogous
#982083 #982047 #983520
triadic
#982047 #479820 #204798
tetradic
#982047 #839820 #209871 #352098
square
#982047 #839820 #209871 #352098
split-complementary
#982047 #209835 #208398
monochromatic
#330B18 #65152F #982047 #CB2B5F #DC5782

Accessibility & contrast

On white

7.98
#982047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#982047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982047
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982047#FFFFFF#000000##FFFFFF
##9820471.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982047;
/* rgb */ color: rgb(152, 32, 71);
/* oklch */ color: oklch(45.4% 0.156 7.2);
Tailwind
colors: {
  custom: {
    50: '#bc6879',
    500: '#982047',
    950: '#000000',
  },
}
SCSS
$custom: #982047;
$custom-light: #bc6879;
$custom-dark: #000000;
JSON
{
  "hex": "#982047",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 340.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.15639,
    "h": 7.2
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#982047
secondary
#54BF9D
accent
#E8B140
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #982047

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

Preview Lab → · Contrast checker → · Palette generator →

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