#982152#982152

#982152 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.158 H 1.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#982152
RGBrgb(152, 33, 82)
HSLhsl(335, 64%, 36%)
HSVhsv(335, 78%, 60%)
CMYKcmyk(0%, 78.3%, 46.1%, 40.4%)
CIE-LABlab(34.75, 51.55, 1.01)
CIE-LCHlch(34.75, 51.56, 1.12°)
OKLaboklab(45.82% 0.1583 0.0032)
OKLCHoklch(45.82% 0.158 1.1)
XYZxyz(15.0169, 8.3743, 8.8066)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982152 #219867
analogous
#98218E #982152 #982C21
triadic
#982152 #529821 #215298
tetradic
#982152 #8E9821 #219867 #2C2198
square
#982152 #8E9821 #219867 #2C2198
split-complementary
#982152 #21982C #218E98
monochromatic
#330B1C #661637 #982152 #CA2C6D #DB598E

Accessibility & contrast

On white

7.85
#982152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#982152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982152
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982152#FFFFFF#000000##FFFFFF
##9821521.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#A50737
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982152;
/* rgb */ color: rgb(152, 33, 82);
/* oklch */ color: oklch(45.8% 0.158 1.1);
Tailwind
colors: {
  custom: {
    50: '#bc6982',
    500: '#982152',
    950: '#000000',
  },
}
SCSS
$custom: #982152;
$custom-light: #bc6982;
$custom-dark: #000000;
JSON
{
  "hex": "#982152",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 335.294,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.15828,
    "h": 1.1
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#982152
secondary
#56BF94
accent
#E7A340
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982152

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

Preview Lab → · Contrast checker → · Palette generator →

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