#8A2F2F#8A2F2F

#8A2F2F is a dark, vivid red. Relative luminance 0.076; OKLCH L 43.9% C 0.124 H 23.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8A2F2F
RGBrgb(138, 47, 47)
HSLhsl(0, 49%, 36%)
HSVhsv(0, 66%, 54%)
CMYKcmyk(0%, 65.9%, 65.9%, 45.9%)
CIE-LABlab(33.23, 38.72, 21.09)
CIE-LCHlch(33.23, 44.10, 28.58°)
OKLaboklab(43.93% 0.1139 0.0502)
OKLCHoklch(43.93% 0.124 23.8)
XYZxyz(12.0120, 7.6432, 3.5315)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F2F #2F8A8A
analogous
#8A2F5D #8A2F2F #8A5D2F
triadic
#8A2F2F #2F8A2F #2F2F8A
tetradic
#8A2F2F #5D8A2F #2F8A8A #5D2F8A
square
#8A2F2F #5D8A2F #2F8A8A #5D2F8A
split-complementary
#8A2F2F #2F8A5D #2F5D8A
monochromatic
#2F1010 #5C1F1F #8A2F2F #B83F3F #CC6868

Accessibility & contrast

On white

8.31
#8A2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A2F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F2F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F2F#FFFFFF#000000##FFFFFF
##8A2F2F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422E
Deuteranopia (green-blind)
#5E552D
Tritanopia (blue-blind)
#981B30
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f2f;
/* rgb */ color: rgb(138, 47, 47);
/* oklch */ color: oklch(43.9% 0.124 23.8);
Tailwind
colors: {
  custom: {
    50: '#b26c67',
    500: '#8a2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f2f;
$custom-light: #b26c67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f2f",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.12445,
    "h": 23.8
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#8A2F2F
secondary
#62B3B3
accent
#D9D94F
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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