#982156#982156

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

Color values

HEX#982156
RGBrgb(152, 33, 86)
HSLhsl(333, 64%, 36%)
HSVhsv(333, 78%, 60%)
CMYKcmyk(0%, 78.3%, 43.4%, 40.4%)
CIE-LABlab(34.88, 51.94, -1.40)
CIE-LCHlch(34.88, 51.96, 358.46°)
OKLaboklab(45.96% 0.1596 -0.003)
OKLCHoklch(45.96% 0.16 358.9)
XYZxyz(15.1736, 8.4370, 9.6318)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982156 #219863
analogous
#982192 #982156 #982821
triadic
#982156 #569821 #215698
tetradic
#982156 #929821 #219863 #282198
square
#982156 #929821 #219863 #282198
split-complementary
#982156 #219828 #219298
monochromatic
#330B1D #66163A #982156 #CA2C72 #DB5993

Accessibility & contrast

On white

7.82
#982156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982156
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982156#FFFFFF#000000##FFFFFF
##9821561.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982156;
/* rgb */ color: rgb(152, 33, 86);
/* oklch */ color: oklch(46.0% 0.160 358.9);
Tailwind
colors: {
  custom: {
    50: '#bb6985',
    500: '#982156',
    950: '#000000',
  },
}
SCSS
$custom: #982156;
$custom-light: #bb6985;
$custom-dark: #000000;
JSON
{
  "hex": "#982156",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 333.277,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.15965,
    "h": 358.9
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#982156
secondary
#56BF90
accent
#E79D40
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982156

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

Preview Lab → · Contrast checker → · Palette generator →

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