#8A272E#8A272E

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

Color values

HEX#8A272E
RGBrgb(138, 39, 46)
HSLhsl(356, 56%, 35%)
HSVhsv(356, 72%, 54%)
CMYKcmyk(0%, 71.7%, 66.7%, 45.9%)
CIE-LABlab(31.93, 42.15, 20.09)
CIE-LCHlch(31.93, 46.69, 25.49°)
OKLaboklab(42.95% 0.1246 0.0478)
OKLCHoklch(42.95% 0.133 21)
XYZxyz(11.7011, 7.0533, 3.3295)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A272E #278A83
analogous
#8A275F #8A272E #8A5227
triadic
#8A272E #2E8A27 #272E8A
tetradic
#8A272E #5F8A27 #278A83 #52278A
square
#8A272E #5F8A27 #278A83 #52278A
split-complementary
#8A272E #278A52 #275F8A
monochromatic
#2B0C0E #5A1A1E #8A272E #BA343E #D15B63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A272E#FFFFFF#000000##FFFFFF
##8A272E1.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)
#423E2E
Deuteranopia (green-blind)
#5B532B
Tritanopia (blue-blind)
#980A2A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a272e;
/* rgb */ color: rgb(138, 39, 46);
/* oklch */ color: oklch(43.0% 0.133 21.0);
Tailwind
colors: {
  custom: {
    50: '#b36866',
    500: '#8a272e',
    950: '#000000',
  },
}
SCSS
$custom: #8a272e;
$custom-light: #b36866;
$custom-dark: #000000;
JSON
{
  "hex": "#8a272e",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 355.758,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4295,
    "c": 0.1334,
    "h": 21
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#8A272E
secondary
#57B6AF
accent
#DFD549
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A272E

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

Preview Lab → · Contrast checker → · Palette generator →

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