#981D4A#981D4A

#981D4A is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.160 H 5.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#981D4A
RGBrgb(152, 29, 74)
HSLhsl(338, 68%, 35%)
HSVhsv(338, 81%, 60%)
CMYKcmyk(0%, 80.9%, 51.3%, 40.4%)
CIE-LABlab(34.09, 52.04, 5.25)
CIE-LCHlch(34.09, 52.30, 5.77°)
OKLaboklab(45.26% 0.1592 0.0139)
OKLCHoklch(45.26% 0.16 5)
XYZxyz(14.6256, 8.0506, 7.2610)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D4A #1D986B
analogous
#981D87 #981D4A #982E1D
triadic
#981D4A #4A981D #1D4A98
tetradic
#981D4A #87981D #1D986B #2E1D98
square
#981D4A #87981D #1D986B #2E1D98
split-complementary
#981D4A #1D982E #1D8798
monochromatic
#310918 #651331 #981D4A #CB2763 #DE5285

Accessibility & contrast

On white

8.05
#981D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D4A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D4A#FFFFFF#000000##FFFFFF
##981D4A1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981d4a;
/* rgb */ color: rgb(152, 29, 74);
/* oklch */ color: oklch(45.3% 0.160 5.0);
Tailwind
colors: {
  custom: {
    50: '#bc677c',
    500: '#981d4a',
    950: '#000000',
  },
}
SCSS
$custom: #981d4a;
$custom-light: #bc677c;
$custom-dark: #000000;
JSON
{
  "hex": "#981d4a",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 338.049,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45259,
    "c": 0.15983,
    "h": 5
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#981D4A
secondary
#50C198
accent
#EBAB3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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