#8A2828#8A2828

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

Color values

HEX#8A2828
RGBrgb(138, 40, 40)
HSLhsl(0, 55%, 35%)
HSVhsv(0, 71%, 54%)
CMYKcmyk(0%, 71%, 71%, 45.9%)
CIE-LABlab(31.98, 41.38, 23.97)
CIE-LCHlch(31.98, 47.82, 30.08°)
OKLaboklab(42.96% 0.1208 0.0555)
OKLCHoklch(42.96% 0.133 24.7)
XYZxyz(11.6243, 7.0758, 2.7607)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2828 #288A8A
analogous
#8A2859 #8A2828 #8A5928
triadic
#8A2828 #288A28 #28288A
tetradic
#8A2828 #598A28 #288A8A #59288A
square
#8A2828 #598A28 #288A8A #59288A
split-complementary
#8A2828 #288A59 #28598A
monochromatic
#2B0C0C #5B1A1A #8A2828 #B93636 #D05D5D

Accessibility & contrast

On white

8.70
#8A2828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2828
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2828#FFFFFF#000000##FFFFFF
##8A28281.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E27
Deuteranopia (green-blind)
#5C5325
Tritanopia (blue-blind)
#980A29
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2828;
/* rgb */ color: rgb(138, 40, 40);
/* oklch */ color: oklch(43.0% 0.133 24.7);
Tailwind
colors: {
  custom: {
    50: '#b36962',
    500: '#8a2828',
    950: '#000000',
  },
}
SCSS
$custom: #8a2828;
$custom-light: #b36962;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2828",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42956,
    "c": 0.13297,
    "h": 24.7
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#8A2828
secondary
#59B5B5
accent
#DEDE49
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8A2828

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

Preview Lab → · Contrast checker → · Palette generator →

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