#981F40#981F40

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

Color values

HEX#981F40
RGBrgb(152, 31, 64)
HSLhsl(344, 66%, 36%)
HSVhsv(344, 80%, 60%)
CMYKcmyk(0%, 79.6%, 57.9%, 40.4%)
CIE-LABlab(34.04, 50.65, 11.71)
CIE-LCHlch(34.04, 51.98, 13.02°)
OKLaboklab(45.14% 0.1534 0.0294)
OKLCHoklch(45.14% 0.156 10.8)
XYZxyz(14.3657, 8.0276, 5.6425)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F40 #1F9877
analogous
#981F7C #981F40 #983A1F
triadic
#981F40 #40981F #1F4098
tetradic
#981F40 #7C981F #1F9877 #3A1F98
square
#981F40 #7C981F #1F9877 #3A1F98
split-complementary
#981F40 #1F983A #1F7C98
monochromatic
#320A15 #65152B #981F40 #CB2955 #DC557A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981F40#FFFFFF#000000##FFFFFF
##981F401.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#5F593D
Tritanopia (blue-blind)
#A7002D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981f40;
/* rgb */ color: rgb(152, 31, 64);
/* oklch */ color: oklch(45.1% 0.156 10.8);
Tailwind
colors: {
  custom: {
    50: '#bd6774',
    500: '#981f40',
    950: '#000000',
  },
}
SCSS
$custom: #981f40;
$custom-light: #bd6774;
$custom-dark: #000000;
JSON
{
  "hex": "#981f40",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 343.636,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4514,
    "c": 0.15618,
    "h": 10.8
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#981F40
secondary
#53C0A2
accent
#E9BB3F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #981F40

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

Preview Lab → · Contrast checker → · Palette generator →

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