#8A2028#8A2028

#8A2028 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 21.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8A2028
RGBrgb(138, 32, 40)
HSLhsl(355, 62%, 33%)
HSVhsv(355, 77%, 54%)
CMYKcmyk(0%, 76.8%, 71%, 45.9%)
CIE-LABlab(30.86, 44.48, 22.61)
CIE-LCHlch(30.86, 49.90, 26.95°)
OKLaboklab(42.12% 0.1306 0.0526)
OKLCHoklch(42.12% 0.141 21.9)
XYZxyz(11.3820, 6.5912, 2.6800)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2028 #208A82
analogous
#8A205D #8A2028 #8A4D20
triadic
#8A2028 #288A20 #20288A
tetradic
#8A2028 #5D8A20 #208A82 #4D208A
square
#8A2028 #5D8A20 #208A82 #4D208A
split-complementary
#8A2028 #208A4D #205D8A
monochromatic
#27090B #58141A #8A2028 #BC2C36 #D64E59

Accessibility & contrast

On white

9.06
#8A2028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A2028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2028
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2028#FFFFFF#000000##FFFFFF
##8A20281.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A27
Deuteranopia (green-blind)
#595125
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2028;
/* rgb */ color: rgb(138, 32, 40);
/* oklch */ color: oklch(42.1% 0.141 21.9);
Tailwind
colors: {
  custom: {
    50: '#b36562',
    500: '#8a2028',
    950: '#000000',
  },
}
SCSS
$custom: #8a2028;
$custom-light: #b36562;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2028",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 355.472,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4212,
    "c": 0.14081,
    "h": 21.9
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#8A2028
secondary
#4DB9B1
accent
#E5D942
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2028

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

Preview Lab → · Contrast checker → · Palette generator →

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