#981F3A#981F3A

#981F3A is a dark, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.156 H 14.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#981F3A
RGBrgb(152, 31, 58)
HSLhsl(347, 66%, 36%)
HSVhsv(347, 80%, 60%)
CMYKcmyk(0%, 79.6%, 61.8%, 40.4%)
CIE-LABlab(33.91, 50.22, 15.44)
CIE-LCHlch(33.91, 52.54, 17.08°)
OKLaboklab(45% 0.151 0.0378)
OKLCHoklch(45% 0.156 14.1)
XYZxyz(14.2041, 7.9630, 4.7913)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F3A #1F987D
analogous
#981F76 #981F3A #98411F
triadic
#981F3A #3A981F #1F3A98
tetradic
#981F3A #76981F #1F987D #411F98
square
#981F3A #76981F #1F987D #411F98
split-complementary
#981F3A #1F9841 #1F7698
monochromatic
#320A13 #651527 #981F3A #CB294D #DC5573

Accessibility & contrast

On white

8.10
#981F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#981F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F3A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F3A#FFFFFF#000000##FFFFFF
##981F3A1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403A
Deuteranopia (green-blind)
#605937
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981f3a;
/* rgb */ color: rgb(152, 31, 58);
/* oklch */ color: oklch(45.0% 0.156 14.1);
Tailwind
colors: {
  custom: {
    50: '#bd676f',
    500: '#981f3a',
    950: '#000000',
  },
}
SCSS
$custom: #981f3a;
$custom-light: #bd676f;
$custom-dark: #000000;
JSON
{
  "hex": "#981f3a",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 346.612,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.15562,
    "h": 14.1
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#981F3A
secondary
#53C0A8
accent
#E9C33F
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A

Preview Lab

Preview with #981F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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