#982252#982252

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

Color values

HEX#982252
RGBrgb(152, 34, 82)
HSLhsl(336, 63%, 36%)
HSVhsv(336, 78%, 60%)
CMYKcmyk(0%, 77.6%, 46.1%, 40.4%)
CIE-LABlab(34.86, 51.23, 1.17)
CIE-LCHlch(34.86, 51.24, 1.31°)
OKLaboklab(45.91% 0.1572 0.0036)
OKLCHoklch(45.91% 0.157 1.3)
XYZxyz(15.0451, 8.4307, 8.8160)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982252 #229868
analogous
#98228D #982252 #982D22
triadic
#982252 #529822 #225298
tetradic
#982252 #8D9822 #229868 #2D2298
square
#982252 #8D9822 #229868 #2D2298
split-complementary
#982252 #22982D #228D98
monochromatic
#340C1C #661737 #982252 #CA2D6D #DA5A8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982252#FFFFFF#000000##FFFFFF
##9822521.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)
#3D4353
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#A50937
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982252;
/* rgb */ color: rgb(152, 34, 82);
/* oklch */ color: oklch(45.9% 0.157 1.3);
Tailwind
colors: {
  custom: {
    50: '#bc6982',
    500: '#982252',
    950: '#000000',
  },
}
SCSS
$custom: #982252;
$custom-light: #bc6982;
$custom-dark: #000000;
JSON
{
  "hex": "#982252",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 335.593,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45906,
    "c": 0.15726,
    "h": 1.3
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#982252
secondary
#57BE95
accent
#E6A341
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982252

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

Preview Lab → · Contrast checker → · Palette generator →

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