#981D4F#981D4F

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

Color values

HEX#981D4F
RGBrgb(152, 29, 79)
HSLhsl(336, 68%, 35%)
HSVhsv(336, 81%, 60%)
CMYKcmyk(0%, 80.9%, 48%, 40.4%)
CIE-LABlab(34.23, 52.48, 2.21)
CIE-LCHlch(34.23, 52.52, 2.41°)
OKLaboklab(45.41% 0.1611 0.0062)
OKLCHoklch(45.41% 0.161 2.2)
XYZxyz(14.8008, 8.1207, 8.1837)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D4F #1D9866
analogous
#981D8C #981D4F #98291D
triadic
#981D4F #4F981D #1D4F98
tetradic
#981D4F #8C981D #1D9866 #291D98
square
#981D4F #8C981D #1D9866 #291D98
split-complementary
#981D4F #1D9829 #1D8C98
monochromatic
#31091A #651334 #981D4F #CB276A #DE528B

Accessibility & contrast

On white

8.00
#981D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D4F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D4F#FFFFFF#000000##FFFFFF
##981D4F1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981d4f;
/* rgb */ color: rgb(152, 29, 79);
/* oklch */ color: oklch(45.4% 0.161 2.2);
Tailwind
colors: {
  custom: {
    50: '#bc6780',
    500: '#981d4f',
    950: '#000000',
  },
}
SCSS
$custom: #981d4f;
$custom-light: #bc6780;
$custom-dark: #000000;
JSON
{
  "hex": "#981d4f",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 335.61,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.16119,
    "h": 2.2
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#981D4F
secondary
#50C193
accent
#EBA43D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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