#981B40#981B40

#981B40 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.160 H 10.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#981B40
RGBrgb(152, 27, 64)
HSLhsl(342, 70%, 35%)
HSVhsv(342, 82%, 60%)
CMYKcmyk(0%, 82.2%, 57.9%, 40.4%)
CIE-LABlab(33.63, 51.81, 11.15)
CIE-LCHlch(33.63, 53.00, 12.14°)
OKLaboklab(44.84% 0.1572 0.028)
OKLCHoklch(44.84% 0.16 10.1)
XYZxyz(14.2677, 7.8315, 5.6099)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B40 #1B9873
analogous
#981B7E #981B40 #98351B
triadic
#981B40 #40981B #1B4098
tetradic
#981B40 #7E981B #1B9873 #351B98
square
#981B40 #7E981B #1B9873 #351B98
split-complementary
#981B40 #1B9835 #1B7E98
monochromatic
#300914 #64122A #981B40 #CC2456 #E04E79

Accessibility & contrast

On white

8.18
#981B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#981B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B40
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B40#FFFFFF#000000##FFFFFF
##981B401.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3F41
Deuteranopia (green-blind)
#5E583D
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981b40;
/* rgb */ color: rgb(152, 27, 64);
/* oklch */ color: oklch(44.8% 0.160 10.1);
Tailwind
colors: {
  custom: {
    50: '#bd6674',
    500: '#981b40',
    950: '#000000',
  },
}
SCSS
$custom: #981b40;
$custom-light: #bd6674;
$custom-dark: #000000;
JSON
{
  "hex": "#981b40",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 342.24,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.15963,
    "h": 10.1
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#981B40
secondary
#4DC29F
accent
#EDB83B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B

Preview Lab

Preview with #981B40

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

Preview Lab → · Contrast checker → · Palette generator →

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