#981B42#981B42

#981B42 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.160 H 9.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#981B42
RGBrgb(152, 27, 66)
HSLhsl(341, 70%, 35%)
HSVhsv(341, 82%, 60%)
CMYKcmyk(0%, 82.2%, 56.6%, 40.4%)
CIE-LABlab(33.68, 51.96, 9.91)
CIE-LCHlch(33.68, 52.89, 10.79°)
OKLaboklab(44.89% 0.158 0.0251)
OKLCHoklch(44.89% 0.16 9)
XYZxyz(14.3256, 7.8547, 5.9150)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B42 #1B9871
analogous
#981B80 #981B42 #98331B
triadic
#981B42 #42981B #1B4298
tetradic
#981B42 #80981B #1B9871 #331B98
square
#981B42 #80981B #1B9871 #331B98
split-complementary
#981B42 #1B9833 #1B8098
monochromatic
#300915 #64122B #981B42 #CC2459 #E04E7B

Accessibility & contrast

On white

8.17
#981B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981B42
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B42#FFFFFF#000000##FFFFFF
##981B421.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3F43
Deuteranopia (green-blind)
#5E583F
Tritanopia (blue-blind)
#A6002C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981b42;
/* rgb */ color: rgb(152, 27, 66);
/* oklch */ color: oklch(44.9% 0.160 9.0);
Tailwind
colors: {
  custom: {
    50: '#bd6676',
    500: '#981b42',
    950: '#000000',
  },
}
SCSS
$custom: #981b42;
$custom-light: #bd6676;
$custom-dark: #000000;
JSON
{
  "hex": "#981b42",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 341.28,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44889,
    "c": 0.15994,
    "h": 9
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#981B42
secondary
#4DC29D
accent
#EDB53B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #981B42

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

Preview Lab → · Contrast checker → · Palette generator →

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