#981A4C#981A4C

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

Color values

HEX#981A4C
RGBrgb(152, 26, 76)
HSLhsl(336, 71%, 35%)
HSVhsv(336, 83%, 60%)
CMYKcmyk(0%, 82.9%, 50%, 40.4%)
CIE-LABlab(33.85, 53.04, 3.61)
CIE-LCHlch(33.85, 53.16, 3.90°)
OKLaboklab(45.11% 0.1627 0.0098)
OKLCHoklch(45.11% 0.163 3.4)
XYZxyz(14.6241, 7.9381, 7.5982)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A4C #1A9866
analogous
#981A8B #981A4C #98271A
triadic
#981A4C #4C981A #1A4C98
tetradic
#981A4C #8B981A #1A9866 #271A98
square
#981A4C #8B981A #1A9866 #271A98
split-complementary
#981A4C #1A9827 #1A8B98
monochromatic
#2F0818 #641132 #981A4C #CC2366 #E04C87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981A4C#FFFFFF#000000##FFFFFF
##981A4C1.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)
#3B404D
Deuteranopia (green-blind)
#5C5849
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981a4c;
/* rgb */ color: rgb(152, 26, 76);
/* oklch */ color: oklch(45.1% 0.163 3.4);
Tailwind
colors: {
  custom: {
    50: '#bc667d',
    500: '#981a4c',
    950: '#000000',
  },
}
SCSS
$custom: #981a4c;
$custom-light: #bc667d;
$custom-dark: #000000;
JSON
{
  "hex": "#981a4c",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 336.19,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.16295,
    "h": 3.4
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#981A4C
secondary
#4BC293
accent
#EEA63A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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