#981E4A#981E4A

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

Color values

HEX#981E4A
RGBrgb(152, 30, 74)
HSLhsl(338, 67%, 36%)
HSVhsv(338, 80%, 60%)
CMYKcmyk(0%, 80.3%, 51.3%, 40.4%)
CIE-LABlab(34.19, 51.75, 5.40)
CIE-LCHlch(34.19, 52.03, 5.96°)
OKLaboklab(45.34% 0.1583 0.0142)
OKLCHoklch(45.34% 0.159 5.1)
XYZxyz(14.6505, 8.1004, 7.2693)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E4A #1E986C
analogous
#981E87 #981E4A #982F1E
triadic
#981E4A #4A981E #1E4A98
tetradic
#981E4A #87981E #1E986C #2F1E98
square
#981E4A #87981E #1E986C #2F1E98
split-complementary
#981E4A #1E982F #1E8798
monochromatic
#320A18 #651431 #981E4A #CB2863 #DD5385

Accessibility & contrast

On white

8.02
#981E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#981E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E4A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E4A#FFFFFF#000000##FFFFFF
##981E4A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E414B
Deuteranopia (green-blind)
#5E5947
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981e4a;
/* rgb */ color: rgb(152, 30, 74);
/* oklch */ color: oklch(45.3% 0.159 5.1);
Tailwind
colors: {
  custom: {
    50: '#bc677c',
    500: '#981e4a',
    950: '#000000',
  },
}
SCSS
$custom: #981e4a;
$custom-light: #bc677c;
$custom-dark: #000000;
JSON
{
  "hex": "#981e4a",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 338.361,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.15893,
    "h": 5.1
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#981E4A
secondary
#51C098
accent
#EAAC3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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