#8A2F2E#8A2F2E

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

Color values

HEX#8A2F2E
RGBrgb(138, 47, 46)
HSLhsl(1, 50%, 36%)
HSVhsv(1, 67%, 54%)
CMYKcmyk(0%, 65.9%, 66.7%, 45.9%)
CIE-LABlab(33.21, 38.66, 21.70)
CIE-LCHlch(33.21, 44.34, 29.31°)
OKLaboklab(43.91% 0.1135 0.0514)
OKLCHoklch(43.91% 0.125 24.4)
XYZxyz(11.9921, 7.6352, 3.4265)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F2E #2E898A
analogous
#8A2E5B #8A2F2E #8A5D2E
triadic
#8A2F2E #2E8A2F #2F2E8A
tetradic
#8A2F2E #5B8A2E #2E898A #5D2E8A
square
#8A2F2E #5B8A2E #2E898A #5D2E8A
split-complementary
#8A2F2E #2E8A5D #2E5B8A
monochromatic
#2E100F #5C1F1F #8A2F2E #B83F3D #CC6766

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2F2E#FFFFFF#000000##FFFFFF
##8A2F2E1.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)
#47422D
Deuteranopia (green-blind)
#5E552C
Tritanopia (blue-blind)
#981A30
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f2e;
/* rgb */ color: rgb(138, 47, 46);
/* oklch */ color: oklch(43.9% 0.125 24.4);
Tailwind
colors: {
  custom: {
    50: '#b26c66',
    500: '#8a2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f2e;
$custom-light: #b26c66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f2e",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 0.652,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4391,
    "c": 0.12459,
    "h": 24.4
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#8A2F2E
secondary
#61B2B3
accent
#D8DA4E
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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