#982D21#982D21

#982D21 is a mid, vivid red. Relative luminance 0.087; OKLCH L 45.9% C 0.145 H 29.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#982D21
RGBrgb(152, 45, 33)
HSLhsl(6, 64%, 36%)
HSVhsv(6, 78%, 60%)
CMYKcmyk(0%, 70.4%, 78.3%, 40.4%)
CIE-LABlab(35.33, 43.83, 32.70)
CIE-LCHlch(35.33, 54.69, 36.72°)
OKLaboklab(45.93% 0.1253 0.0722)
OKLCHoklch(45.93% 0.145 29.9)
XYZxyz(14.1634, 8.6641, 2.3651)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D21 #218C98
analogous
#982151 #982D21 #986921
triadic
#982D21 #21982D #2D2198
tetradic
#982D21 #519821 #218C98 #692198
square
#982D21 #519821 #218C98 #692198
split-complementary
#982D21 #219869 #215198
monochromatic
#330F0B #661E16 #982D21 #CA3C2C #DB6659

Accessibility & contrast

On white

7.69
#982D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#982D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982D21
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D21#FFFFFF#000000##FFFFFF
##982D211.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441F
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#A8072B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982d21;
/* rgb */ color: rgb(152, 45, 33);
/* oklch */ color: oklch(45.9% 0.145 29.9);
Tailwind
colors: {
  custom: {
    50: '#be6d5d',
    500: '#982d21',
    950: '#000000',
  },
}
SCSS
$custom: #982d21;
$custom-light: #be6d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#982d21",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 33
  },
  "hsl": {
    "h": 6.05,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.14455,
    "h": 29.9
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#982D21
secondary
#56B4BF
accent
#D6E740
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982D21

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

Preview Lab → · Contrast checker → · Palette generator →

#982D21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva