#981B4A#981B4A

#981B4A is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.162 H 4.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#981B4A
RGBrgb(152, 27, 74)
HSLhsl(337, 70%, 35%)
HSVhsv(337, 82%, 60%)
CMYKcmyk(0%, 82.2%, 51.3%, 40.4%)
CIE-LABlab(33.89, 52.60, 4.97)
CIE-LCHlch(33.89, 52.83, 5.40°)
OKLaboklab(45.11% 0.1611 0.0132)
OKLCHoklch(45.11% 0.162 4.7)
XYZxyz(14.5782, 7.9557, 7.2452)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B4A #1B9869
analogous
#981B88 #981B4A #982B1B
triadic
#981B4A #4A981B #1B4A98
tetradic
#981B4A #88981B #1B9869 #2B1B98
square
#981B4A #88981B #1B9869 #2B1B98
split-complementary
#981B4A #1B982B #1B8898
monochromatic
#300917 #641231 #981B4A #CC2463 #E04E85

Accessibility & contrast

On white

8.11
#981B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#981B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B4A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B4A#FFFFFF#000000##FFFFFF
##981B4A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404B
Deuteranopia (green-blind)
#5D5847
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981b4a;
/* rgb */ color: rgb(152, 27, 74);
/* oklch */ color: oklch(45.1% 0.162 4.7);
Tailwind
colors: {
  custom: {
    50: '#bc667c',
    500: '#981b4a',
    950: '#000000',
  },
}
SCSS
$custom: #981b4a;
$custom-light: #bc667c;
$custom-dark: #000000;
JSON
{
  "hex": "#981b4a",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 337.44,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45114,
    "c": 0.16159,
    "h": 4.7
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#981B4A
secondary
#4DC296
accent
#EDAA3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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