#982046#982046

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

Color values

HEX#982046
RGBrgb(152, 32, 70)
HSLhsl(341, 65%, 36%)
HSVhsv(341, 79%, 60%)
CMYKcmyk(0%, 78.9%, 53.9%, 40.4%)
CIE-LABlab(34.30, 50.80, 8.16)
CIE-LCHlch(34.30, 51.45, 9.13°)
OKLaboklab(45.38% 0.1548 0.021)
OKLCHoklch(45.38% 0.156 7.7)
XYZxyz(14.5723, 8.1527, 6.5995)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982046 #209872
analogous
#982082 #982046 #983620
triadic
#982046 #469820 #204698
tetradic
#982046 #829820 #209872 #362098
square
#982046 #829820 #209872 #362098
split-complementary
#982046 #209836 #208298
monochromatic
#330B17 #65152F #982046 #CB2B5D #DC5781

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982046#FFFFFF#000000##FFFFFF
##9820461.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)
#3F4147
Deuteranopia (green-blind)
#5F5943
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982046;
/* rgb */ color: rgb(152, 32, 70);
/* oklch */ color: oklch(45.4% 0.156 7.7);
Tailwind
colors: {
  custom: {
    50: '#bc6879',
    500: '#982046',
    950: '#000000',
  },
}
SCSS
$custom: #982046;
$custom-light: #bc6879;
$custom-dark: #000000;
JSON
{
  "hex": "#982046",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 341,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.15619,
    "h": 7.7
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#982046
secondary
#54BF9E
accent
#E8B340
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #982046

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

Preview Lab → · Contrast checker → · Palette generator →

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