#982154#982154

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

Color values

HEX#982154
RGBrgb(152, 33, 84)
HSLhsl(334, 64%, 36%)
HSVhsv(334, 78%, 60%)
CMYKcmyk(0%, 78.3%, 44.7%, 40.4%)
CIE-LABlab(34.81, 51.74, -0.20)
CIE-LCHlch(34.81, 51.75, 359.78°)
OKLaboklab(45.89% 0.159 0.0001)
OKLCHoklch(45.89% 0.159 0)
XYZxyz(15.0942, 8.4052, 9.2133)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982154 #219865
analogous
#982190 #982154 #982A21
triadic
#982154 #549821 #215498
tetradic
#982154 #909821 #219865 #2A2198
square
#982154 #909821 #219865 #2A2198
split-complementary
#982154 #21982A #219098
monochromatic
#330B1C #661638 #982154 #CA2C70 #DB5990

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982154#FFFFFF#000000##FFFFFF
##9821541.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)
#3C4355
Deuteranopia (green-blind)
#5C5A51
Tritanopia (blue-blind)
#A50938
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982154;
/* rgb */ color: rgb(152, 33, 84);
/* oklch */ color: oklch(45.9% 0.159 0.0);
Tailwind
colors: {
  custom: {
    50: '#bb6984',
    500: '#982154',
    950: '#000000',
  },
}
SCSS
$custom: #982154;
$custom-light: #bb6984;
$custom-dark: #000000;
JSON
{
  "hex": "#982154",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 334.286,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.15895,
    "h": 0
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#982154
secondary
#56BF92
accent
#E7A040
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982154

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

Preview Lab → · Contrast checker → · Palette generator →

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