#981D4B#981D4B

#981D4B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.160 H 4.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#981D4B
RGBrgb(152, 29, 75)
HSLhsl(338, 68%, 35%)
HSVhsv(338, 81%, 60%)
CMYKcmyk(0%, 80.9%, 50.7%, 40.4%)
CIE-LABlab(34.12, 52.12, 4.64)
CIE-LCHlch(34.12, 52.33, 5.09°)
OKLaboklab(45.29% 0.1596 0.0123)
OKLCHoklch(45.29% 0.16 4.4)
XYZxyz(14.6596, 8.0642, 7.4399)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D4B #1D986A
analogous
#981D88 #981D4B #982C1D
triadic
#981D4B #4B981D #1D4B98
tetradic
#981D4B #88981D #1D986A #2C1D98
square
#981D4B #88981D #1D986A #2C1D98
split-complementary
#981D4B #1D982C #1D8898
monochromatic
#310918 #651332 #981D4B #CB2764 #DE5286

Accessibility & contrast

On white

8.04
#981D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#981D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D4B
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D4B#FFFFFF#000000##FFFFFF
##981D4B1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#5D5948
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981d4b;
/* rgb */ color: rgb(152, 29, 75);
/* oklch */ color: oklch(45.3% 0.160 4.4);
Tailwind
colors: {
  custom: {
    50: '#bc677d',
    500: '#981d4b',
    950: '#000000',
  },
}
SCSS
$custom: #981d4b;
$custom-light: #bc677d;
$custom-dark: #000000;
JSON
{
  "hex": "#981d4b",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 75
  },
  "hsl": {
    "h": 337.561,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.16009,
    "h": 4.4
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#981D4B
secondary
#50C197
accent
#EBAA3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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