#8A2821#8A2821

#8A2821 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.134 H 28.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8A2821
RGBrgb(138, 40, 33)
HSLhsl(4, 61%, 34%)
HSVhsv(4, 76%, 54%)
CMYKcmyk(0%, 71%, 76.1%, 45.9%)
CIE-LABlab(31.88, 41.03, 28.17)
CIE-LCHlch(31.88, 49.77, 34.47°)
OKLaboklab(42.85% 0.1182 0.0633)
OKLCHoklch(42.85% 0.134 28.2)
XYZxyz(11.5158, 7.0324, 2.1896)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2821 #21838A
analogous
#8A214E #8A2821 #8A5C21
triadic
#8A2821 #218A28 #28218A
tetradic
#8A2821 #4E8A21 #21838A #5C218A
square
#8A2821 #4E8A21 #21838A #5C218A
split-complementary
#8A2821 #218A5C #214E8A
monochromatic
#270B09 #591A15 #8A2821 #BB362D #D55950

Accessibility & contrast

On white

8.73
#8A2821 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A2821 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2821
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2821#FFFFFF#000000##FFFFFF
##8A28211.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1F
Deuteranopia (green-blind)
#5C531E
Tritanopia (blue-blind)
#980727
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2821;
/* rgb */ color: rgb(138, 40, 33);
/* oklch */ color: oklch(42.9% 0.134 28.2);
Tailwind
colors: {
  custom: {
    50: '#b4685d',
    500: '#8a2821',
    950: '#000000',
  },
}
SCSS
$custom: #8a2821;
$custom-light: #b4685d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2821",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 33
  },
  "hsl": {
    "h": 4,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.13404,
    "h": 28.2
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#8A2821
secondary
#4EB1B9
accent
#DAE543
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A2821

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

Preview Lab → · Contrast checker → · Palette generator →

#8A2821 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva