#981A4B#981A4B

#981A4B is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.163 H 4.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#981A4B
RGBrgb(152, 26, 75)
HSLhsl(337, 71%, 35%)
HSVhsv(337, 83%, 60%)
CMYKcmyk(0%, 82.9%, 50.7%, 40.4%)
CIE-LABlab(33.82, 52.95, 4.23)
CIE-LCHlch(33.82, 53.12, 4.56°)
OKLaboklab(45.08% 0.1623 0.0113)
OKLCHoklch(45.08% 0.163 4)
XYZxyz(14.5896, 7.9243, 7.4165)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A4B #1A9867
analogous
#981A8A #981A4B #98281A
triadic
#981A4B #4B981A #1A4B98
tetradic
#981A4B #8A981A #1A9867 #281A98
square
#981A4B #8A981A #1A9867 #281A98
split-complementary
#981A4B #1A9828 #1A8A98
monochromatic
#2F0817 #641131 #981A4B #CC2365 #E04C86

Accessibility & contrast

On white

8.13
#981A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981A4B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A4B#FFFFFF#000000##FFFFFF
##981A4B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981a4b;
/* rgb */ color: rgb(152, 26, 75);
/* oklch */ color: oklch(45.1% 0.163 4.0);
Tailwind
colors: {
  custom: {
    50: '#bc667d',
    500: '#981a4b',
    950: '#000000',
  },
}
SCSS
$custom: #981a4b;
$custom-light: #bc667d;
$custom-dark: #000000;
JSON
{
  "hex": "#981a4b",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 336.667,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.16268,
    "h": 4
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#981A4B
secondary
#4BC294
accent
#EEA83A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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