#982158#982158

#982158 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.160 H 357.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#982158
RGBrgb(152, 33, 88)
HSLhsl(332, 64%, 36%)
HSVhsv(332, 78%, 60%)
CMYKcmyk(0%, 78.3%, 42.1%, 40.4%)
CIE-LABlab(34.94, 52.15, -2.59)
CIE-LCHlch(34.94, 52.21, 357.16°)
OKLaboklab(46.03% 0.1603 -0.0061)
OKLCHoklch(46.03% 0.16 357.8)
XYZxyz(15.2553, 8.4697, 10.0621)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982158 #219861
analogous
#982194 #982158 #982621
triadic
#982158 #589821 #215898
tetradic
#982158 #949821 #219861 #262198
square
#982158 #949821 #219861 #262198
split-complementary
#982158 #219826 #219498
monochromatic
#330B1E #66163B #982158 #CA2C75 #DB5995

Accessibility & contrast

On white

7.80
#982158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#982158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982158
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982158#FFFFFF#000000##FFFFFF
##9821581.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982158;
/* rgb */ color: rgb(152, 33, 88);
/* oklch */ color: oklch(46.0% 0.160 357.8);
Tailwind
colors: {
  custom: {
    50: '#bb6987',
    500: '#982158',
    950: '#000000',
  },
}
SCSS
$custom: #982158;
$custom-light: #bb6987;
$custom-dark: #000000;
JSON
{
  "hex": "#982158",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 332.269,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46026,
    "c": 0.16041,
    "h": 357.8
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#982158
secondary
#56BF8E
accent
#E79A40
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982158

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

Preview Lab → · Contrast checker → · Palette generator →

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