#981F27#981F27

#981F27 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.156 H 23.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#981F27
RGBrgb(152, 31, 39)
HSLhsl(356, 66%, 36%)
HSVhsv(356, 80%, 60%)
CMYKcmyk(0%, 79.6%, 74.3%, 40.4%)
CIE-LABlab(33.57, 49.17, 27.16)
CIE-LCHlch(33.57, 56.17, 28.91°)
OKLaboklab(44.64% 0.1434 0.0616)
OKLCHoklch(44.64% 0.156 23.2)
XYZxyz(13.8067, 7.8040, 2.6984)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F27 #1F9890
analogous
#981F63 #981F27 #98531F
triadic
#981F27 #27981F #1F2798
tetradic
#981F27 #63981F #1F9890 #531F98
square
#981F27 #63981F #1F9890 #531F98
split-complementary
#981F27 #1F9853 #1F6398
monochromatic
#320A0D #65151A #981F27 #CB2934 #DC555E

Accessibility & contrast

On white

8.20
#981F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F27
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F27#FFFFFF#000000##FFFFFF
##981F271.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E26
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#A80023
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981f27;
/* rgb */ color: rgb(152, 31, 39);
/* oklch */ color: oklch(44.6% 0.156 23.2);
Tailwind
colors: {
  custom: {
    50: '#be6761',
    500: '#981f27',
    950: '#000000',
  },
}
SCSS
$custom: #981f27;
$custom-light: #be6761;
$custom-dark: #000000;
JSON
{
  "hex": "#981f27",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 356.033,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.15608,
    "h": 23.2
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#981F27
secondary
#53C0B9
accent
#E9DE3F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #981F27

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

Preview Lab → · Contrast checker → · Palette generator →

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