#982147#982147

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

Color values

HEX#982147
RGBrgb(152, 33, 71)
HSLhsl(341, 64%, 36%)
HSVhsv(341, 78%, 60%)
CMYKcmyk(0%, 78.3%, 53.3%, 40.4%)
CIE-LABlab(34.44, 50.57, 7.70)
CIE-LCHlch(34.44, 51.15, 8.66°)
OKLaboklab(45.49% 0.1542 0.0199)
OKLCHoklch(45.49% 0.155 7.3)
XYZxyz(14.6314, 8.2201, 6.7762)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982147 #219872
analogous
#982183 #982147 #983721
triadic
#982147 #479821 #214798
tetradic
#982147 #839821 #219872 #372198
square
#982147 #839821 #219872 #372198
split-complementary
#982147 #219837 #218398
monochromatic
#330B18 #661630 #982147 #CA2C5E #DB5982

Accessibility & contrast

On white

7.94
#982147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#982147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982147
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982147#FFFFFF#000000##FFFFFF
##9821471.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#5F5A44
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982147;
/* rgb */ color: rgb(152, 33, 71);
/* oklch */ color: oklch(45.5% 0.155 7.3);
Tailwind
colors: {
  custom: {
    50: '#bc6879',
    500: '#982147',
    950: '#000000',
  },
}
SCSS
$custom: #982147;
$custom-light: #bc6879;
$custom-dark: #000000;
JSON
{
  "hex": "#982147",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 340.84,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45489,
    "c": 0.15542,
    "h": 7.3
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#982147
secondary
#56BF9D
accent
#E7B240
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #982147

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

Preview Lab → · Contrast checker → · Palette generator →

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