#981B3F#981B3F

#981B3F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.160 H 10.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#981B3F
RGBrgb(152, 27, 63)
HSLhsl(343, 70%, 35%)
HSVhsv(343, 82%, 60%)
CMYKcmyk(0%, 82.2%, 58.6%, 40.4%)
CIE-LABlab(33.61, 51.74, 11.77)
CIE-LCHlch(33.61, 53.06, 12.82°)
OKLaboklab(44.81% 0.1568 0.0295)
OKLCHoklch(44.81% 0.16 10.6)
XYZxyz(14.2395, 7.8203, 5.4613)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B3F #1B9874
analogous
#981B7D #981B3F #98361B
triadic
#981B3F #3F981B #1B3F98
tetradic
#981B3F #7D981B #1B9874 #361B98
square
#981B3F #7D981B #1B9874 #361B98
split-complementary
#981B3F #1B9836 #1B7D98
monochromatic
#300914 #641229 #981B3F #CC2455 #E04E78

Accessibility & contrast

On white

8.19
#981B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#981B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B3F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B3F#FFFFFF#000000##FFFFFF
##981B3F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#5F583C
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981b3f;
/* rgb */ color: rgb(152, 27, 63);
/* oklch */ color: oklch(44.8% 0.160 10.6);
Tailwind
colors: {
  custom: {
    50: '#bd6673',
    500: '#981b3f',
    950: '#000000',
  },
}
SCSS
$custom: #981b3f;
$custom-light: #bd6673;
$custom-dark: #000000;
JSON
{
  "hex": "#981b3f",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 342.72,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.1595,
    "h": 10.6
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#981B3F
secondary
#4DC2A0
accent
#EDBA3B
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130608
muted
#827A7B

Preview Lab

Preview with #981B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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