#981C4F#981C4F

#981C4F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.162 H 2.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#981C4F
RGBrgb(152, 28, 79)
HSLhsl(335, 69%, 35%)
HSVhsv(335, 82%, 60%)
CMYKcmyk(0%, 81.6%, 48%, 40.4%)
CIE-LABlab(34.13, 52.76, 2.06)
CIE-LCHlch(34.13, 52.80, 2.24°)
OKLaboklab(45.34% 0.162 0.0059)
OKLCHoklch(45.34% 0.162 2.1)
XYZxyz(14.7767, 8.0725, 8.1757)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C4F #1C9865
analogous
#981C8D #981C4F #98271C
triadic
#981C4F #4F981C #1C4F98
tetradic
#981C4F #8D981C #1C9865 #271C98
square
#981C4F #8D981C #1C9865 #271C98
split-complementary
#981C4F #1C9827 #1C8D98
monochromatic
#310919 #641234 #981C4F #CC266A #DF508B

Accessibility & contrast

On white

8.03
#981C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#981C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C4F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C4F#FFFFFF#000000##FFFFFF
##981C4F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#5C594C
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981c4f;
/* rgb */ color: rgb(152, 28, 79);
/* oklch */ color: oklch(45.3% 0.162 2.1);
Tailwind
colors: {
  custom: {
    50: '#bc6780',
    500: '#981c4f',
    950: '#000000',
  },
}
SCSS
$custom: #981c4f;
$custom-light: #bc6780;
$custom-dark: #000000;
JSON
{
  "hex": "#981c4f",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 335.323,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45339,
    "c": 0.1621,
    "h": 2.1
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#981C4F
secondary
#4EC192
accent
#ECA33C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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