#981E4D#981E4D

#981E4D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.160 H 3.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#981E4D
RGBrgb(152, 30, 77)
HSLhsl(337, 67%, 36%)
HSVhsv(337, 80%, 60%)
CMYKcmyk(0%, 80.3%, 49.3%, 40.4%)
CIE-LABlab(34.28, 52.01, 3.57)
CIE-LCHlch(34.28, 52.13, 3.93°)
OKLaboklab(45.43% 0.1594 0.0097)
OKLCHoklch(45.43% 0.16 3.5)
XYZxyz(14.7540, 8.1418, 7.8144)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E4D #1E9869
analogous
#981E8A #981E4D #982C1E
triadic
#981E4D #4D981E #1E4D98
tetradic
#981E4D #8A981E #1E9869 #2C1E98
square
#981E4D #8A981E #1E9869 #2C1E98
split-complementary
#981E4D #1E982C #1E8A98
monochromatic
#320A19 #651433 #981E4D #CB2867 #DD5388

Accessibility & contrast

On white

7.99
#981E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981E4D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E4D#FFFFFF#000000##FFFFFF
##981E4D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#5D594A
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981e4d;
/* rgb */ color: rgb(152, 30, 77);
/* oklch */ color: oklch(45.4% 0.160 3.5);
Tailwind
colors: {
  custom: {
    50: '#bc677e',
    500: '#981e4d',
    950: '#000000',
  },
}
SCSS
$custom: #981e4d;
$custom-light: #bc677e;
$custom-dark: #000000;
JSON
{
  "hex": "#981e4d",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 336.885,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.1597,
    "h": 3.5
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#981E4D
secondary
#51C096
accent
#EAA83E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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