#8A272A#8A272A

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

Color values

HEX#8A272A
RGBrgb(138, 39, 42)
HSLhsl(358, 56%, 35%)
HSVhsv(358, 72%, 54%)
CMYKcmyk(0%, 71.7%, 69.6%, 45.9%)
CIE-LABlab(31.86, 41.91, 22.56)
CIE-LCHlch(31.86, 47.59, 28.29°)
OKLaboklab(42.88% 0.1229 0.0528)
OKLCHoklch(42.88% 0.134 23.2)
XYZxyz(11.6259, 7.0232, 2.9335)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A272A #278A87
analogous
#8A275B #8A272A #8A5627
triadic
#8A272A #2A8A27 #272A8A
tetradic
#8A272A #5B8A27 #278A87 #56278A
square
#8A272A #5B8A27 #278A87 #56278A
split-complementary
#8A272A #278A56 #275B8A
monochromatic
#2B0C0D #5A1A1B #8A272A #BA3439 #D15B5E

Accessibility & contrast

On white

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

On black

2.40
#8A272A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A272A#FFFFFF#000000##FFFFFF
##8A272A1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D29
Deuteranopia (green-blind)
#5B5327
Tritanopia (blue-blind)
#980829
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a272a;
/* rgb */ color: rgb(138, 39, 42);
/* oklch */ color: oklch(42.9% 0.134 23.2);
Tailwind
colors: {
  custom: {
    50: '#b36863',
    500: '#8a272a',
    950: '#000000',
  },
}
SCSS
$custom: #8a272a;
$custom-light: #b36863;
$custom-dark: #000000;
JSON
{
  "hex": "#8a272a",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 42
  },
  "hsl": {
    "h": 358.182,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.13376,
    "h": 23.2
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#8A272A
secondary
#57B6B3
accent
#DFDB49
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8A272A

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

Preview Lab → · Contrast checker → · Palette generator →

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