#981F4B#981F4B

#981F4B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.158 H 4.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#981F4B
RGBrgb(152, 31, 75)
HSLhsl(338, 66%, 36%)
HSVhsv(338, 80%, 60%)
CMYKcmyk(0%, 79.6%, 50.7%, 40.4%)
CIE-LABlab(34.33, 51.53, 4.94)
CIE-LCHlch(34.33, 51.77, 5.48°)
OKLaboklab(45.44% 0.1577 0.0131)
OKLCHoklch(45.44% 0.158 4.7)
XYZxyz(14.7102, 8.1654, 7.4567)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F4B #1F986C
analogous
#981F87 #981F4B #98301F
triadic
#981F4B #4B981F #1F4B98
tetradic
#981F4B #87981F #1F986C #301F98
square
#981F4B #87981F #1F986C #301F98
split-complementary
#981F4B #1F9830 #1F8798
monochromatic
#320A19 #651532 #981F4B #CB2964 #DC5586

Accessibility & contrast

On white

7.98
#981F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#981F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F4B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F4B#FFFFFF#000000##FFFFFF
##981F4B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#5E5948
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981f4b;
/* rgb */ color: rgb(152, 31, 75);
/* oklch */ color: oklch(45.4% 0.158 4.7);
Tailwind
colors: {
  custom: {
    50: '#bc687d',
    500: '#981f4b',
    950: '#000000',
  },
}
SCSS
$custom: #981f4b;
$custom-light: #bc687d;
$custom-dark: #000000;
JSON
{
  "hex": "#981f4b",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 338.182,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.15824,
    "h": 4.7
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#981F4B
secondary
#53C098
accent
#E9AB3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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