#982240#982240

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

Color values

HEX#982240
RGBrgb(152, 34, 64)
HSLhsl(345, 63%, 36%)
HSVhsv(345, 78%, 60%)
CMYKcmyk(0%, 77.6%, 57.9%, 40.4%)
CIE-LABlab(34.38, 49.69, 12.18)
CIE-LCHlch(34.38, 51.16, 13.77°)
OKLaboklab(45.39% 0.1503 0.0305)
OKLCHoklch(45.39% 0.153 11.5)
XYZxyz(14.4477, 8.1917, 5.6699)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982240 #22987A
analogous
#98227B #982240 #983F22
triadic
#982240 #409822 #224098
tetradic
#982240 #7B9822 #22987A #3F2298
square
#982240 #7B9822 #22987A #3F2298
split-complementary
#982240 #22983F #227B98
monochromatic
#340C16 #66172B #982240 #CA2D55 #DA5A7B

Accessibility & contrast

On white

7.96
#982240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982240
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982240#FFFFFF#000000##FFFFFF
##9822401.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424140
Deuteranopia (green-blind)
#605A3D
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982240;
/* rgb */ color: rgb(152, 34, 64);
/* oklch */ color: oklch(45.4% 0.153 11.5);
Tailwind
colors: {
  custom: {
    50: '#bd6974',
    500: '#982240',
    950: '#000000',
  },
}
SCSS
$custom: #982240;
$custom-light: #bd6974;
$custom-dark: #000000;
JSON
{
  "hex": "#982240",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 344.746,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4539,
    "c": 0.15338,
    "h": 11.5
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#982240
secondary
#57BEA4
accent
#E6BC41
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982240

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

Preview Lab → · Contrast checker → · Palette generator →

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