#981F47#981F47

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

Color values

HEX#981F47
RGBrgb(152, 31, 71)
HSLhsl(340, 66%, 36%)
HSVhsv(340, 80%, 60%)
CMYKcmyk(0%, 79.6%, 53.3%, 40.4%)
CIE-LABlab(34.22, 51.19, 7.39)
CIE-LCHlch(34.22, 51.72, 8.22°)
OKLaboklab(45.33% 0.1562 0.0191)
OKLCHoklch(45.33% 0.157 7)
XYZxyz(14.5776, 8.1124, 6.7582)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F47 #1F9870
analogous
#981F83 #981F47 #98331F
triadic
#981F47 #47981F #1F4798
tetradic
#981F47 #83981F #1F9870 #331F98
square
#981F47 #83981F #1F9870 #331F98
split-complementary
#981F47 #1F9833 #1F8398
monochromatic
#320A18 #65152F #981F47 #CB295F #DC5582

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981F47#FFFFFF#000000##FFFFFF
##981F471.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)
#3F4148
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981f47;
/* rgb */ color: rgb(152, 31, 71);
/* oklch */ color: oklch(45.3% 0.157 7.0);
Tailwind
colors: {
  custom: {
    50: '#bc6879',
    500: '#981f47',
    950: '#000000',
  },
}
SCSS
$custom: #981f47;
$custom-light: #bc6879;
$custom-dark: #000000;
JSON
{
  "hex": "#981f47",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 340.165,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.15733,
    "h": 7
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#981F47
secondary
#53C09C
accent
#E9B13F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #981F47

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

Preview Lab → · Contrast checker → · Palette generator →

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