#981E4B#981E4B

#981E4B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.159 H 4.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#981E4B
RGBrgb(152, 30, 75)
HSLhsl(338, 67%, 36%)
HSVhsv(338, 80%, 60%)
CMYKcmyk(0%, 80.3%, 50.7%, 40.4%)
CIE-LABlab(34.22, 51.83, 4.79)
CIE-LCHlch(34.22, 52.05, 5.28°)
OKLaboklab(45.36% 0.1587 0.0127)
OKLCHoklch(45.36% 0.159 4.6)
XYZxyz(14.6845, 8.1140, 7.4482)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E4B #1E986B
analogous
#981E88 #981E4B #982E1E
triadic
#981E4B #4B981E #1E4B98
tetradic
#981E4B #88981E #1E986B #2E1E98
square
#981E4B #88981E #1E986B #2E1E98
split-complementary
#981E4B #1E982E #1E8898
monochromatic
#320A19 #651432 #981E4B #CB2864 #DD5386

Accessibility & contrast

On white

8.01
#981E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#981E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E4B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E4B#FFFFFF#000000##FFFFFF
##981E4B1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.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: #981e4b;
/* rgb */ color: rgb(152, 30, 75);
/* oklch */ color: oklch(45.4% 0.159 4.6);
Tailwind
colors: {
  custom: {
    50: '#bc677d',
    500: '#981e4b',
    950: '#000000',
  },
}
SCSS
$custom: #981e4b;
$custom-light: #bc677d;
$custom-dark: #000000;
JSON
{
  "hex": "#981e4b",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 337.869,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.15917,
    "h": 4.6
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#981E4B
secondary
#51C097
accent
#EAAA3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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