#981D4E#981D4E

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

Color values

HEX#981D4E
RGBrgb(152, 29, 78)
HSLhsl(336, 68%, 35%)
HSVhsv(336, 81%, 60%)
CMYKcmyk(0%, 80.9%, 48.7%, 40.4%)
CIE-LABlab(34.20, 52.39, 2.81)
CIE-LCHlch(34.20, 52.46, 3.07°)
OKLaboklab(45.38% 0.1607 0.0078)
OKLCHoklch(45.38% 0.161 2.8)
XYZxyz(14.7647, 8.1062, 7.9934)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D4E #1D9867
analogous
#981D8B #981D4E #982A1D
triadic
#981D4E #4E981D #1D4E98
tetradic
#981D4E #8B981D #1D9867 #2A1D98
square
#981D4E #8B981D #1D9867 #2A1D98
split-complementary
#981D4E #1D982A #1D8B98
monochromatic
#310919 #651334 #981D4E #CB2768 #DE5289

Accessibility & contrast

On white

8.01
#981D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D4E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D4E#FFFFFF#000000##FFFFFF
##981D4E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#5D594B
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981d4e;
/* rgb */ color: rgb(152, 29, 78);
/* oklch */ color: oklch(45.4% 0.161 2.8);
Tailwind
colors: {
  custom: {
    50: '#bc677f',
    500: '#981d4e',
    950: '#000000',
  },
}
SCSS
$custom: #981d4e;
$custom-light: #bc677f;
$custom-dark: #000000;
JSON
{
  "hex": "#981d4e",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 336.098,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.1609,
    "h": 2.8
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#981D4E
secondary
#50C194
accent
#EBA63D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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