#981B4F#981B4F

#981B4F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.163 H 1.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#981B4F
RGBrgb(152, 27, 79)
HSLhsl(335, 70%, 35%)
HSVhsv(335, 82%, 60%)
CMYKcmyk(0%, 82.2%, 48%, 40.4%)
CIE-LABlab(34.04, 53.04, 1.92)
CIE-LCHlch(34.04, 53.07, 2.07°)
OKLaboklab(45.27% 0.1629 0.0055)
OKLCHoklch(45.27% 0.163 1.9)
XYZxyz(14.7534, 8.0258, 8.1679)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B4F #1B9864
analogous
#981B8D #981B4F #98261B
triadic
#981B4F #4F981B #1B4F98
tetradic
#981B4F #8D981B #1B9864 #261B98
square
#981B4F #8D981B #1B9864 #261B98
split-complementary
#981B4F #1B9826 #1B8D98
monochromatic
#300919 #641234 #981B4F #CC246A #E04E8A

Accessibility & contrast

On white

8.06
#981B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#981B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B4F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B4F#FFFFFF#000000##FFFFFF
##981B4F1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#5C594C
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981b4f;
/* rgb */ color: rgb(152, 27, 79);
/* oklch */ color: oklch(45.3% 0.163 1.9);
Tailwind
colors: {
  custom: {
    50: '#bc6680',
    500: '#981b4f',
    950: '#000000',
  },
}
SCSS
$custom: #981b4f;
$custom-light: #bc6680;
$custom-dark: #000000;
JSON
{
  "hex": "#981b4f",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 335.04,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.16296,
    "h": 1.9
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#981B4F
secondary
#4DC291
accent
#EDA33B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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