#982142#982142

#982142 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.155 H 10.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#982142
RGBrgb(152, 33, 66)
HSLhsl(343, 64%, 36%)
HSVhsv(343, 78%, 60%)
CMYKcmyk(0%, 78.3%, 56.6%, 40.4%)
CIE-LABlab(34.31, 50.17, 10.78)
CIE-LCHlch(34.31, 51.32, 12.13°)
OKLaboklab(45.36% 0.1522 0.0272)
OKLCHoklch(45.36% 0.155 10.1)
XYZxyz(14.4775, 8.1585, 5.9656)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982142 #219877
analogous
#98217E #982142 #983C21
triadic
#982142 #429821 #214298
tetradic
#982142 #7E9821 #219877 #3C2198
square
#982142 #7E9821 #219877 #3C2198
split-complementary
#982142 #21983C #217E98
monochromatic
#330B16 #66162C #982142 #CA2C58 #DB597D

Accessibility & contrast

On white

7.98
#982142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#982142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982142
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982142#FFFFFF#000000##FFFFFF
##9821421.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414143
Deuteranopia (green-blind)
#60593F
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982142;
/* rgb */ color: rgb(152, 33, 66);
/* oklch */ color: oklch(45.4% 0.155 10.1);
Tailwind
colors: {
  custom: {
    50: '#bd6876',
    500: '#982142',
    950: '#000000',
  },
}
SCSS
$custom: #982142;
$custom-light: #bd6876;
$custom-dark: #000000;
JSON
{
  "hex": "#982142",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 343.361,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45355,
    "c": 0.15459,
    "h": 10.1
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#982142
secondary
#56BFA2
accent
#E7B940
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982142

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

Preview Lab → · Contrast checker → · Palette generator →

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