#982242#982242

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

Color values

HEX#982242
RGBrgb(152, 34, 66)
HSLhsl(344, 63%, 36%)
HSVhsv(344, 78%, 60%)
CMYKcmyk(0%, 77.6%, 56.6%, 40.4%)
CIE-LABlab(34.43, 49.84, 10.94)
CIE-LCHlch(34.43, 51.03, 12.38°)
OKLaboklab(45.44% 0.1511 0.0276)
OKLCHoklch(45.44% 0.154 10.3)
XYZxyz(14.5057, 8.2149, 5.9750)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982242 #229878
analogous
#98227D #982242 #983D22
triadic
#982242 #429822 #224298
tetradic
#982242 #7D9822 #229878 #3D2298
square
#982242 #7D9822 #229878 #3D2298
split-complementary
#982242 #22983D #227D98
monochromatic
#340C17 #66172C #982242 #CA2D58 #DA5A7D

Accessibility & contrast

On white

7.95
#982242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982242
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982242#FFFFFF#000000##FFFFFF
##9822421.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414243
Deuteranopia (green-blind)
#605A3F
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982242;
/* rgb */ color: rgb(152, 34, 66);
/* oklch */ color: oklch(45.4% 0.154 10.3);
Tailwind
colors: {
  custom: {
    50: '#bc6976',
    500: '#982242',
    950: '#000000',
  },
}
SCSS
$custom: #982242;
$custom-light: #bc6976;
$custom-dark: #000000;
JSON
{
  "hex": "#982242",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 343.729,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4544,
    "c": 0.15363,
    "h": 10.3
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#982242
secondary
#57BEA2
accent
#E6BA41
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982242

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

Preview Lab → · Contrast checker → · Palette generator →

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