#982042#982042

#982042 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.156 H 9.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#982042
RGBrgb(152, 32, 66)
HSLhsl(343, 65%, 36%)
HSVhsv(343, 79%, 60%)
CMYKcmyk(0%, 78.9%, 56.6%, 40.4%)
CIE-LABlab(34.20, 50.49, 10.63)
CIE-LCHlch(34.20, 51.59, 11.89°)
OKLaboklab(45.27% 0.1532 0.0268)
OKLCHoklch(45.27% 0.156 9.9)
XYZxyz(14.4502, 8.1039, 5.9565)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982042 #209876
analogous
#98207E #982042 #983A20
triadic
#982042 #429820 #204298
tetradic
#982042 #7E9820 #209876 #3A2098
square
#982042 #7E9820 #209876 #3A2098
split-complementary
#982042 #20983A #207E98
monochromatic
#330B16 #65152C #982042 #CB2B58 #DC577C

Accessibility & contrast

On white

8.01
#982042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#982042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982042
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982042#FFFFFF#000000##FFFFFF
##9820421.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982042;
/* rgb */ color: rgb(152, 32, 66);
/* oklch */ color: oklch(45.3% 0.156 9.9);
Tailwind
colors: {
  custom: {
    50: '#bd6876',
    500: '#982042',
    950: '#000000',
  },
}
SCSS
$custom: #982042;
$custom-light: #bd6876;
$custom-dark: #000000;
JSON
{
  "hex": "#982042",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 343,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.15553,
    "h": 9.9
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#982042
secondary
#54BFA1
accent
#E8B840
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982042

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

Preview Lab → · Contrast checker → · Palette generator →

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