#981F3F#981F3F

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

Color values

HEX#981F3F
RGBrgb(152, 31, 63)
HSLhsl(344, 66%, 36%)
HSVhsv(344, 80%, 60%)
CMYKcmyk(0%, 79.6%, 58.6%, 40.4%)
CIE-LABlab(34.02, 50.57, 12.33)
CIE-LCHlch(34.02, 52.05, 13.70°)
OKLaboklab(45.12% 0.153 0.0308)
OKLCHoklch(45.12% 0.156 11.4)
XYZxyz(14.3375, 8.0164, 5.4940)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F3F #1F9878
analogous
#981F7B #981F3F #983B1F
triadic
#981F3F #3F981F #1F3F98
tetradic
#981F3F #7B981F #1F9878 #3B1F98
square
#981F3F #7B981F #1F9878 #3B1F98
split-complementary
#981F3F #1F983B #1F7B98
monochromatic
#320A15 #65152A #981F3F #CB2954 #DC5579

Accessibility & contrast

On white

8.07
#981F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#981F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F3F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F3F#FFFFFF#000000##FFFFFF
##981F3F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40403F
Deuteranopia (green-blind)
#60593C
Tritanopia (blue-blind)
#A7002D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981f3f;
/* rgb */ color: rgb(152, 31, 63);
/* oklch */ color: oklch(45.1% 0.156 11.4);
Tailwind
colors: {
  custom: {
    50: '#bd6773',
    500: '#981f3f',
    950: '#000000',
  },
}
SCSS
$custom: #981f3f;
$custom-light: #bd6773;
$custom-dark: #000000;
JSON
{
  "hex": "#981f3f",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 344.132,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45115,
    "c": 0.15607,
    "h": 11.4
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#981F3F
secondary
#53C0A3
accent
#E9BC3F
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B

Preview Lab

Preview with #981F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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