#982A1F#982A1F

#982A1F is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.6% C 0.148 H 29.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#982A1F
RGBrgb(152, 42, 31)
HSLhsl(5, 66%, 36%)
HSVhsv(5, 80%, 60%)
CMYKcmyk(0%, 72.4%, 79.6%, 40.4%)
CIE-LABlab(34.87, 44.96, 33.35)
CIE-LCHlch(34.87, 55.98, 36.57°)
OKLaboklab(45.58% 0.1284 0.073)
OKLCHoklch(45.58% 0.148 29.6)
XYZxyz(14.0258, 8.4324, 2.1851)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A1F #1F8D98
analogous
#981F50 #982A1F #98661F
triadic
#982A1F #1F982A #2A1F98
tetradic
#982A1F #50981F #1F8D98 #661F98
square
#982A1F #50981F #1F8D98 #661F98
split-complementary
#982A1F #1F9866 #1F5098
monochromatic
#320E0A #651C15 #982A1F #CB3829 #DC6155

Accessibility & contrast

On white

7.82
#982A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#982A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A1F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A1F#FFFFFF#000000##FFFFFF
##982A1F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A431D
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#A80028
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982a1f;
/* rgb */ color: rgb(152, 42, 31);
/* oklch */ color: oklch(45.6% 0.148 29.6);
Tailwind
colors: {
  custom: {
    50: '#bf6b5c',
    500: '#982a1f',
    950: '#000000',
  },
}
SCSS
$custom: #982a1f;
$custom-light: #bf6b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#982a1f",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 5.455,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.14767,
    "h": 29.6
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#982A1F
secondary
#53B6C0
accent
#DAE93F
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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