#982140#982140

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

Color values

HEX#982140
RGBrgb(152, 33, 64)
HSLhsl(344, 64%, 36%)
HSVhsv(344, 78%, 60%)
CMYKcmyk(0%, 78.3%, 57.9%, 40.4%)
CIE-LABlab(34.26, 50.02, 12.02)
CIE-LCHlch(34.26, 51.44, 13.51°)
OKLaboklab(45.3% 0.1514 0.0301)
OKLCHoklch(45.3% 0.154 11.2)
XYZxyz(14.4196, 8.1354, 5.6605)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982140 #219879
analogous
#98217C #982140 #983E21
triadic
#982140 #409821 #214098
tetradic
#982140 #7C9821 #219879 #3E2198
square
#982140 #7C9821 #219879 #3E2198
split-complementary
#982140 #21983E #217C98
monochromatic
#330B16 #66162B #982140 #CA2C55 #DB597A

Accessibility & contrast

On white

8.00
#982140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982140
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982140#FFFFFF#000000##FFFFFF
##9821401.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414140
Deuteranopia (green-blind)
#60593D
Tritanopia (blue-blind)
#A7002E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982140;
/* rgb */ color: rgb(152, 33, 64);
/* oklch */ color: oklch(45.3% 0.154 11.2);
Tailwind
colors: {
  custom: {
    50: '#bd6874',
    500: '#982140',
    950: '#000000',
  },
}
SCSS
$custom: #982140;
$custom-light: #bd6874;
$custom-dark: #000000;
JSON
{
  "hex": "#982140",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 344.37,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45304,
    "c": 0.15433,
    "h": 11.2
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#982140
secondary
#56BFA4
accent
#E7BC40
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982140

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

Preview Lab → · Contrast checker → · Palette generator →

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