#982056#982056

#982056 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.161 H 358.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#982056
RGBrgb(152, 32, 86)
HSLhsl(333, 65%, 36%)
HSVhsv(333, 79%, 60%)
CMYKcmyk(0%, 78.9%, 43.4%, 40.4%)
CIE-LABlab(34.77, 52.26, -1.56)
CIE-LCHlch(34.77, 52.28, 358.29°)
OKLaboklab(45.88% 0.1606 -0.0034)
OKLCHoklch(45.88% 0.161 358.8)
XYZxyz(15.1463, 8.3823, 9.6227)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982056 #209862
analogous
#982092 #982056 #982620
triadic
#982056 #569820 #205698
tetradic
#982056 #929820 #209862 #262098
square
#982056 #929820 #209862 #262098
split-complementary
#982056 #209826 #209298
monochromatic
#330B1D #651539 #982056 #CB2B73 #DC5793

Accessibility & contrast

On white

7.85
#982056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#982056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982056
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982056#FFFFFF#000000##FFFFFF
##9820561.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#5C5A53
Tritanopia (blue-blind)
#A50838
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982056;
/* rgb */ color: rgb(152, 32, 86);
/* oklch */ color: oklch(45.9% 0.161 358.8);
Tailwind
colors: {
  custom: {
    50: '#bb6885',
    500: '#982056',
    950: '#000000',
  },
}
SCSS
$custom: #982056;
$custom-light: #bb6885;
$custom-dark: #000000;
JSON
{
  "hex": "#982056",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 333,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.16066,
    "h": 358.8
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#982056
secondary
#54BF8F
accent
#E89C40
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982056

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

Preview Lab → · Contrast checker → · Palette generator →

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