#981F3B#981F3B

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

Color values

HEX#981F3B
RGBrgb(152, 31, 59)
HSLhsl(346, 66%, 36%)
HSVhsv(346, 80%, 60%)
CMYKcmyk(0%, 79.6%, 61.2%, 40.4%)
CIE-LABlab(33.93, 50.29, 14.81)
CIE-LCHlch(33.93, 52.43, 16.41°)
OKLaboklab(45.02% 0.1514 0.0364)
OKLCHoklch(45.02% 0.156 13.5)
XYZxyz(14.2298, 7.9733, 4.9265)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F3B #1F987C
analogous
#981F77 #981F3B #98401F
triadic
#981F3B #3B981F #1F3B98
tetradic
#981F3B #77981F #1F987C #401F98
square
#981F3B #77981F #1F987C #401F98
split-complementary
#981F3B #1F9840 #1F7798
monochromatic
#320A14 #651527 #981F3B #CB294F #DC5574

Accessibility & contrast

On white

8.09
#981F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F3B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F3B#FFFFFF#000000##FFFFFF
##981F3B1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981f3b;
/* rgb */ color: rgb(152, 31, 59);
/* oklch */ color: oklch(45.0% 0.156 13.5);
Tailwind
colors: {
  custom: {
    50: '#bd6770',
    500: '#981f3b',
    950: '#000000',
  },
}
SCSS
$custom: #981f3b;
$custom-light: #bd6770;
$custom-dark: #000000;
JSON
{
  "hex": "#981f3b",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 346.116,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45019,
    "c": 0.15569,
    "h": 13.5
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#981F3B
secondary
#53C0A7
accent
#E9C23F
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A

Preview Lab

Preview with #981F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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