#981F48#981F48

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

Color values

HEX#981F48
RGBrgb(152, 31, 72)
HSLhsl(340, 66%, 36%)
HSVhsv(340, 80%, 60%)
CMYKcmyk(0%, 79.6%, 52.6%, 40.4%)
CIE-LABlab(34.24, 51.28, 6.78)
CIE-LCHlch(34.24, 51.72, 7.53°)
OKLaboklab(45.36% 0.1566 0.0176)
OKLCHoklch(45.36% 0.158 6.4)
XYZxyz(14.6099, 8.1253, 6.9287)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F48 #1F986F
analogous
#981F84 #981F48 #98321F
triadic
#981F48 #48981F #1F4898
tetradic
#981F48 #84981F #1F986F #321F98
square
#981F48 #84981F #1F986F #321F98
split-complementary
#981F48 #1F9832 #1F8498
monochromatic
#320A18 #651530 #981F48 #CB2960 #DC5583

Accessibility & contrast

On white

8.00
#981F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F48
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F48#FFFFFF#000000##FFFFFF
##981F481.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4149
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981f48;
/* rgb */ color: rgb(152, 31, 72);
/* oklch */ color: oklch(45.4% 0.158 6.4);
Tailwind
colors: {
  custom: {
    50: '#bc687a',
    500: '#981f48',
    950: '#000000',
  },
}
SCSS
$custom: #981f48;
$custom-light: #bc687a;
$custom-dark: #000000;
JSON
{
  "hex": "#981f48",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 339.669,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45355,
    "c": 0.15755,
    "h": 6.4
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#981F48
secondary
#53C09B
accent
#E9AF3F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #981F48

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

Preview Lab → · Contrast checker → · Palette generator →

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