#982058#982058

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

Color values

HEX#982058
RGBrgb(152, 32, 88)
HSLhsl(332, 65%, 36%)
HSVhsv(332, 79%, 60%)
CMYKcmyk(0%, 78.9%, 42.1%, 40.4%)
CIE-LABlab(34.83, 52.46, -2.75)
CIE-LCHlch(34.83, 52.53, 357.00°)
OKLaboklab(45.95% 0.1613 -0.0066)
OKLCHoklch(45.95% 0.161 357.7)
XYZxyz(15.2280, 8.4150, 10.0530)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982058 #209860
analogous
#982094 #982058 #982420
triadic
#982058 #589820 #205898
tetradic
#982058 #949820 #209860 #242098
square
#982058 #949820 #209860 #242098
split-complementary
#982058 #209824 #209498
monochromatic
#330B1D #65153B #982058 #CB2B75 #DC5795

Accessibility & contrast

On white

7.83
#982058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982058
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982058#FFFFFF#000000##FFFFFF
##9820581.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#5B5A55
Tritanopia (blue-blind)
#A50B39
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982058;
/* rgb */ color: rgb(152, 32, 88);
/* oklch */ color: oklch(45.9% 0.161 357.7);
Tailwind
colors: {
  custom: {
    50: '#bb6887',
    500: '#982058',
    950: '#000000',
  },
}
SCSS
$custom: #982058;
$custom-light: #bb6887;
$custom-dark: #000000;
JSON
{
  "hex": "#982058",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 332,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.16141,
    "h": 357.7
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#982058
secondary
#54BF8D
accent
#E89A40
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982058

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

Preview Lab → · Contrast checker → · Palette generator →

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