#981D40#981D40

#981D40 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.158 H 10.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#981D40
RGBrgb(152, 29, 64)
HSLhsl(343, 68%, 35%)
HSVhsv(343, 81%, 60%)
CMYKcmyk(0%, 80.9%, 57.9%, 40.4%)
CIE-LABlab(33.83, 51.24, 11.42)
CIE-LCHlch(33.83, 52.50, 12.57°)
OKLaboklab(44.98% 0.1553 0.0287)
OKLCHoklch(44.98% 0.158 10.5)
XYZxyz(14.3151, 7.9264, 5.6257)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D40 #1D9875
analogous
#981D7D #981D40 #98371D
triadic
#981D40 #40981D #1D4098
tetradic
#981D40 #7D981D #1D9875 #371D98
square
#981D40 #7D981D #1D9875 #371D98
split-complementary
#981D40 #1D9837 #1D7D98
monochromatic
#310915 #65132A #981D40 #CB2756 #DE5279

Accessibility & contrast

On white

8.12
#981D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#981D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D40
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D40#FFFFFF#000000##FFFFFF
##981D401.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4041
Deuteranopia (green-blind)
#5F583D
Tritanopia (blue-blind)
#A7002C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981d40;
/* rgb */ color: rgb(152, 29, 64);
/* oklch */ color: oklch(45.0% 0.158 10.5);
Tailwind
colors: {
  custom: {
    50: '#bd6774',
    500: '#981d40',
    950: '#000000',
  },
}
SCSS
$custom: #981d40;
$custom-light: #bd6774;
$custom-dark: #000000;
JSON
{
  "hex": "#981d40",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 342.927,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44984,
    "c": 0.15795,
    "h": 10.5
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#981D40
secondary
#50C1A1
accent
#EBB93D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #981D40

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

Preview Lab → · Contrast checker → · Palette generator →

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