#981F26#981F26

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

Color values

HEX#981F26
RGBrgb(152, 31, 38)
HSLhsl(357, 66%, 36%)
HSVhsv(357, 80%, 60%)
CMYKcmyk(0%, 79.6%, 75%, 40.4%)
CIE-LABlab(33.56, 49.12, 27.76)
CIE-LCHlch(33.56, 56.42, 29.47°)
OKLaboklab(44.63% 0.143 0.0627)
OKLCHoklch(44.63% 0.156 23.7)
XYZxyz(13.7903, 7.7975, 2.6123)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F26 #1F9891
analogous
#981F62 #981F26 #98541F
triadic
#981F26 #26981F #1F2698
tetradic
#981F26 #62981F #1F9891 #541F98
square
#981F26 #62981F #1F9891 #541F98
split-complementary
#981F26 #1F9854 #1F6298
monochromatic
#320A0D #651519 #981F26 #CB2933 #DC555D

Accessibility & contrast

On white

8.21
#981F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F26
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F26#FFFFFF#000000##FFFFFF
##981F261.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981f26;
/* rgb */ color: rgb(152, 31, 38);
/* oklch */ color: oklch(44.6% 0.156 23.7);
Tailwind
colors: {
  custom: {
    50: '#bf6760',
    500: '#981f26',
    950: '#000000',
  },
}
SCSS
$custom: #981f26;
$custom-light: #bf6760;
$custom-dark: #000000;
JSON
{
  "hex": "#981f26",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 356.529,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44627,
    "c": 0.15618,
    "h": 23.7
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#981F26
secondary
#53C0BA
accent
#E9DF3F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #981F26

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

Preview Lab → · Contrast checker → · Palette generator →

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