#982045#982045

#982045 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.156 H 8.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#982045
RGBrgb(152, 32, 69)
HSLhsl(342, 65%, 36%)
HSVhsv(342, 79%, 60%)
CMYKcmyk(0%, 78.9%, 54.6%, 40.4%)
CIE-LABlab(34.27, 50.72, 8.78)
CIE-LCHlch(34.27, 51.48, 9.82°)
OKLaboklab(45.35% 0.1544 0.0224)
OKLCHoklch(45.35% 0.156 8.3)
XYZxyz(14.5409, 8.1402, 6.4346)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982045 #209873
analogous
#982081 #982045 #983720
triadic
#982045 #459820 #204598
tetradic
#982045 #819820 #209873 #372098
square
#982045 #819820 #209873 #372098
split-complementary
#982045 #209837 #208198
monochromatic
#330B17 #65152E #982045 #CB2B5C #DC5780

Accessibility & contrast

On white

7.99
#982045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982045
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982045#FFFFFF#000000##FFFFFF
##9820451.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404146
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982045;
/* rgb */ color: rgb(152, 32, 69);
/* oklch */ color: oklch(45.4% 0.156 8.3);
Tailwind
colors: {
  custom: {
    50: '#bc6878',
    500: '#982045',
    950: '#000000',
  },
}
SCSS
$custom: #982045;
$custom-light: #bc6878;
$custom-dark: #000000;
JSON
{
  "hex": "#982045",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 341.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.15601,
    "h": 8.3
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

primary
#982045
secondary
#54BF9E
accent
#E8B440
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982045

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

Preview Lab → · Contrast checker → · Palette generator →

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