#8A2826#8A2826

#8A2826 is a dark, vivid red. Relative luminance 0.071; OKLCH L 42.9% C 0.133 H 25.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8A2826
RGBrgb(138, 40, 38)
HSLhsl(1, 57%, 35%)
HSVhsv(1, 72%, 54%)
CMYKcmyk(0%, 71%, 72.5%, 45.9%)
CIE-LABlab(31.95, 41.27, 25.18)
CIE-LCHlch(31.95, 48.35, 31.39°)
OKLaboklab(42.92% 0.12 0.0579)
OKLCHoklch(42.92% 0.133 25.7)
XYZxyz(11.5911, 7.0625, 2.5862)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2826 #26888A
analogous
#8A2656 #8A2826 #8A5A26
triadic
#8A2826 #268A28 #28268A
tetradic
#8A2826 #568A26 #26888A #5A268A
square
#8A2826 #568A26 #26888A #5A268A
split-complementary
#8A2826 #268A5A #26568A
monochromatic
#2A0C0C #5A1A19 #8A2826 #BA3633 #D15B59

Accessibility & contrast

On white

8.71
#8A2826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2826
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2826#FFFFFF#000000##FFFFFF
##8A28261.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E25
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#980929
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2826;
/* rgb */ color: rgb(138, 40, 38);
/* oklch */ color: oklch(42.9% 0.133 25.7);
Tailwind
colors: {
  custom: {
    50: '#b36960',
    500: '#8a2826',
    950: '#000000',
  },
}
SCSS
$custom: #8a2826;
$custom-light: #b36960;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2826",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 1.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.13324,
    "h": 25.7
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#8A2826
secondary
#56B4B6
accent
#DDE048
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120705
muted
#817A79

Preview Lab

Preview with #8A2826

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

Preview Lab → · Contrast checker → · Palette generator →

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