#8A2F2A#8A2F2A

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

Color values

HEX#8A2F2A
RGBrgb(138, 47, 42)
HSLhsl(3, 53%, 35%)
HSVhsv(3, 70%, 54%)
CMYKcmyk(0%, 65.9%, 69.6%, 45.9%)
CIE-LABlab(33.15, 38.41, 24.12)
CIE-LCHlch(33.15, 45.36, 32.13°)
OKLaboklab(43.84% 0.1119 0.0562)
OKLCHoklch(43.84% 0.125 26.7)
XYZxyz(11.9169, 7.6051, 3.0305)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F2A #2A858A
analogous
#8A2A55 #8A2F2A #8A5F2A
triadic
#8A2F2A #2A8A2F #2F2A8A
tetradic
#8A2F2A #558A2A #2A858A #5F2A8A
square
#8A2F2A #558A2A #2A858A #5F2A8A
split-complementary
#8A2F2A #2A8A5F #2A558A
monochromatic
#2C0F0D #5B1F1C #8A2F2A #B93F38 #CF6660

Accessibility & contrast

On white

8.33
#8A2F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F2A
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F2A#FFFFFF#000000##FFFFFF
##8A2F2A1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474229
Deuteranopia (green-blind)
#5E5527
Tritanopia (blue-blind)
#98192F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f2a;
/* rgb */ color: rgb(138, 47, 42);
/* oklch */ color: oklch(43.8% 0.125 26.7);
Tailwind
colors: {
  custom: {
    50: '#b26c63',
    500: '#8a2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f2a;
$custom-light: #b26c63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f2a",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 3.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.12521,
    "h": 26.7
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#8A2F2A
secondary
#5BB0B4
accent
#D5DD4B
background
#FBF6F5
surface
#F6ECEA
border
#D0C7C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8A2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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