#8A272B#8A272B

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

Color values

HEX#8A272B
RGBrgb(138, 39, 43)
HSLhsl(358, 56%, 35%)
HSVhsv(358, 72%, 54%)
CMYKcmyk(0%, 71.7%, 68.8%, 45.9%)
CIE-LABlab(31.88, 41.97, 21.95)
CIE-LCHlch(31.88, 47.36, 27.61°)
OKLaboklab(42.9% 0.1233 0.0515)
OKLCHoklch(42.9% 0.134 22.7)
XYZxyz(11.6440, 7.0304, 3.0289)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A272B #278A86
analogous
#8A275C #8A272B #8A5527
triadic
#8A272B #2B8A27 #272B8A
tetradic
#8A272B #5C8A27 #278A86 #55278A
square
#8A272B #5C8A27 #278A86 #55278A
split-complementary
#8A272B #278A55 #275C8A
monochromatic
#2B0C0D #5A1A1C #8A272B #BA343A #D15B60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A272B#FFFFFF#000000##FFFFFF
##8A272B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E2A
Deuteranopia (green-blind)
#5B5328
Tritanopia (blue-blind)
#980829
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a272b;
/* rgb */ color: rgb(138, 39, 43);
/* oklch */ color: oklch(42.9% 0.134 22.7);
Tailwind
colors: {
  custom: {
    50: '#b36864',
    500: '#8a272b',
    950: '#000000',
  },
}
SCSS
$custom: #8a272b;
$custom-light: #b36864;
$custom-dark: #000000;
JSON
{
  "hex": "#8a272b",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 43
  },
  "hsl": {
    "h": 357.576,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.13365,
    "h": 22.7
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#8A272B
secondary
#57B6B2
accent
#DFD949
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8A272B

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

Preview Lab → · Contrast checker → · Palette generator →

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