#981E4F#981E4F

#981E4F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.160 H 2.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#981E4F
RGBrgb(152, 30, 79)
HSLhsl(336, 67%, 36%)
HSVhsv(336, 80%, 60%)
CMYKcmyk(0%, 80.3%, 48%, 40.4%)
CIE-LABlab(34.34, 52.19, 2.35)
CIE-LCHlch(34.34, 52.24, 2.58°)
OKLaboklab(45.49% 0.1601 0.0066)
OKLCHoklch(45.49% 0.16 2.4)
XYZxyz(14.8257, 8.1705, 8.1920)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E4F #1E9867
analogous
#981E8C #981E4F #982A1E
triadic
#981E4F #4F981E #1E4F98
tetradic
#981E4F #8C981E #1E9867 #2A1E98
square
#981E4F #8C981E #1E9867 #2A1E98
split-complementary
#981E4F #1E982A #1E8C98
monochromatic
#320A1A #651434 #981E4F #CB286A #DD538B

Accessibility & contrast

On white

7.97
#981E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#981E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E4F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E4F#FFFFFF#000000##FFFFFF
##981E4F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4250
Deuteranopia (green-blind)
#5D594C
Tritanopia (blue-blind)
#A60034
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981e4f;
/* rgb */ color: rgb(152, 30, 79);
/* oklch */ color: oklch(45.5% 0.160 2.4);
Tailwind
colors: {
  custom: {
    50: '#bc6780',
    500: '#981e4f',
    950: '#000000',
  },
}
SCSS
$custom: #981e4f;
$custom-light: #bc6780;
$custom-dark: #000000;
JSON
{
  "hex": "#981e4f",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 335.902,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.16027,
    "h": 2.4
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#981E4F
secondary
#51C094
accent
#EAA53E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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