#8A2F20#8A2F20

#8A2F20 is a dark, vivid red. Relative luminance 0.075; OKLCH L 43.7% C 0.127 H 31.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8A2F20
RGBrgb(138, 47, 32)
HSLhsl(8, 62%, 33%)
HSVhsv(8, 77%, 54%)
CMYKcmyk(0%, 65.9%, 76.8%, 45.9%)
CIE-LABlab(33.01, 37.89, 30.01)
CIE-LCHlch(33.01, 48.33, 38.37°)
OKLaboklab(43.7% 0.1081 0.067)
OKLCHoklch(43.7% 0.127 31.8)
XYZxyz(11.7597, 7.5423, 2.2028)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F20 #207B8A
analogous
#8A2046 #8A2F20 #8A6420
triadic
#8A2F20 #208A2F #2F208A
tetradic
#8A2F20 #468A20 #207B8A #64208A
square
#8A2F20 #468A20 #207B8A #64208A
split-complementary
#8A2F20 #208A64 #20468A
monochromatic
#270D09 #581E14 #8A2F20 #BC402C #D6624E

Accessibility & contrast

On white

8.37
#8A2F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A2F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F20
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F20#FFFFFF#000000##FFFFFF
##8A2F201.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411E
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#98172C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f20;
/* rgb */ color: rgb(138, 47, 32);
/* oklch */ color: oklch(43.7% 0.127 31.8);
Tailwind
colors: {
  custom: {
    50: '#b36c5c',
    500: '#8a2f20',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f20;
$custom-light: #b36c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f20",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 32
  },
  "hsl": {
    "h": 8.491,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.12722,
    "h": 31.8
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#8A2F20
secondary
#4DAAB9
accent
#CEE542
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A2F20

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

Preview Lab → · Contrast checker → · Palette generator →

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