#8A2F27#8A2F27

#8A2F27 is a dark, vivid red. Relative luminance 0.076; OKLCH L 43.8% C 0.126 H 28.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8A2F27
RGBrgb(138, 47, 39)
HSLhsl(5, 56%, 35%)
HSVhsv(5, 72%, 54%)
CMYKcmyk(0%, 65.9%, 71.7%, 45.9%)
CIE-LABlab(33.10, 38.24, 25.92)
CIE-LCHlch(33.10, 46.20, 34.13°)
OKLaboklab(43.79% 0.1107 0.0597)
OKLCHoklch(43.79% 0.126 28.3)
XYZxyz(11.8652, 7.5845, 2.7582)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F27 #27828A
analogous
#8A2751 #8A2F27 #8A6027
triadic
#8A2F27 #278A2F #2F278A
tetradic
#8A2F27 #518A27 #27828A #60278A
square
#8A2F27 #518A27 #27828A #60278A
split-complementary
#8A2F27 #278A60 #27518A
monochromatic
#2B0E0C #5A1F1A #8A2F27 #BA3F34 #D1645B

Accessibility & contrast

On white

8.34
#8A2F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A2F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F27
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F27#FFFFFF#000000##FFFFFF
##8A2F271.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484126
Deuteranopia (green-blind)
#5F5524
Tritanopia (blue-blind)
#98192E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f27;
/* rgb */ color: rgb(138, 47, 39);
/* oklch */ color: oklch(43.8% 0.126 28.3);
Tailwind
colors: {
  custom: {
    50: '#b36c61',
    500: '#8a2f27',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f27;
$custom-light: #b36c61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f27",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 4.848,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.12577,
    "h": 28.3
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#8A2F27
secondary
#57AEB6
accent
#D3DF49
background
#FBF6F5
surface
#F6ECEA
border
#D0C7C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8A2F27

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

Preview Lab → · Contrast checker → · Palette generator →

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