#981C45#981C45

#981C45 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 7.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#981C45
RGBrgb(152, 28, 69)
HSLhsl(340, 69%, 35%)
HSVhsv(340, 82%, 60%)
CMYKcmyk(0%, 81.6%, 54.6%, 40.4%)
CIE-LABlab(33.85, 51.91, 8.19)
CIE-LCHlch(33.85, 52.55, 8.96°)
OKLaboklab(45.04% 0.1582 0.021)
OKLCHoklch(45.04% 0.16 7.6)
XYZxyz(14.4397, 7.9377, 6.4008)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C45 #1C986F
analogous
#981C83 #981C45 #98311C
triadic
#981C45 #45981C #1C4598
tetradic
#981C45 #83981C #1C986F #311C98
square
#981C45 #83981C #1C986F #311C98
split-complementary
#981C45 #1C9831 #1C8398
monochromatic
#310916 #64122E #981C45 #CC265C #DF507F

Accessibility & contrast

On white

8.12
#981C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#981C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C45
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C45#FFFFFF#000000##FFFFFF
##981C451.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4046
Deuteranopia (green-blind)
#5E5842
Tritanopia (blue-blind)
#A6002E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981c45;
/* rgb */ color: rgb(152, 28, 69);
/* oklch */ color: oklch(45.0% 0.160 7.6);
Tailwind
colors: {
  custom: {
    50: '#bd6678',
    500: '#981c45',
    950: '#000000',
  },
}
SCSS
$custom: #981c45;
$custom-light: #bd6678;
$custom-dark: #000000;
JSON
{
  "hex": "#981c45",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 69
  },
  "hsl": {
    "h": 340.161,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45042,
    "c": 0.15963,
    "h": 7.6
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#981C45
secondary
#4EC19B
accent
#ECB23C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #981C45

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

Preview Lab → · Contrast checker → · Palette generator →

#981C45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva