#982145#982145

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

Color values

HEX#982145
RGBrgb(152, 33, 69)
HSLhsl(342, 64%, 36%)
HSVhsv(342, 78%, 60%)
CMYKcmyk(0%, 78.3%, 54.6%, 40.4%)
CIE-LABlab(34.39, 50.41, 8.93)
CIE-LCHlch(34.39, 51.19, 10.05°)
OKLaboklab(45.43% 0.1534 0.0228)
OKLCHoklch(45.43% 0.155 8.5)
XYZxyz(14.5683, 8.1949, 6.4437)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982145 #219874
analogous
#982181 #982145 #983921
triadic
#982145 #459821 #214598
tetradic
#982145 #819821 #219874 #392198
square
#982145 #819821 #219874 #392198
split-complementary
#982145 #219839 #218198
monochromatic
#330B17 #66162E #982145 #CA2C5C #DB5980

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982145#FFFFFF#000000##FFFFFF
##9821451.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)
#404246
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982145;
/* rgb */ color: rgb(152, 33, 69);
/* oklch */ color: oklch(45.4% 0.155 8.5);
Tailwind
colors: {
  custom: {
    50: '#bc6878',
    500: '#982145',
    950: '#000000',
  },
}
SCSS
$custom: #982145;
$custom-light: #bc6878;
$custom-dark: #000000;
JSON
{
  "hex": "#982145",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 341.849,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45434,
    "c": 0.15506,
    "h": 8.5
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#982145
secondary
#56BF9F
accent
#E7B540
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982145

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

Preview Lab → · Contrast checker → · Palette generator →

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