#982155#982155

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

Color values

HEX#982155
RGBrgb(152, 33, 85)
HSLhsl(334, 64%, 36%)
HSVhsv(334, 78%, 60%)
CMYKcmyk(0%, 78.3%, 44.1%, 40.4%)
CIE-LABlab(34.84, 51.84, -0.80)
CIE-LCHlch(34.84, 51.85, 359.12°)
OKLaboklab(45.92% 0.1593 -0.0015)
OKLCHoklch(45.92% 0.159 359.5)
XYZxyz(15.1336, 8.4210, 9.4211)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982155 #219864
analogous
#982191 #982155 #982921
triadic
#982155 #559821 #215598
tetradic
#982155 #919821 #219864 #292198
square
#982155 #919821 #219864 #292198
split-complementary
#982155 #219829 #219198
monochromatic
#330B1D #661639 #982155 #CA2C71 #DB5991

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982155#FFFFFF#000000##FFFFFF
##9821551.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4356
Deuteranopia (green-blind)
#5C5A52
Tritanopia (blue-blind)
#A50A38
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982155;
/* rgb */ color: rgb(152, 33, 85);
/* oklch */ color: oklch(45.9% 0.159 359.5);
Tailwind
colors: {
  custom: {
    50: '#bb6984',
    500: '#982155',
    950: '#000000',
  },
}
SCSS
$custom: #982155;
$custom-light: #bb6984;
$custom-dark: #000000;
JSON
{
  "hex": "#982155",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 333.782,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45922,
    "c": 0.1593,
    "h": 359.5
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#982155
secondary
#56BF91
accent
#E79E40
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982155

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

Preview Lab → · Contrast checker → · Palette generator →

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