#8A2F21#8A2F21

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

Color values

HEX#8A2F21
RGBrgb(138, 47, 33)
HSLhsl(8, 61%, 34%)
HSVhsv(8, 76%, 54%)
CMYKcmyk(0%, 65.9%, 76.1%, 45.9%)
CIE-LABlab(33.02, 37.94, 29.43)
CIE-LCHlch(33.02, 48.02, 37.80°)
OKLaboklab(43.71% 0.1085 0.066)
OKLCHoklch(43.71% 0.127 31.3)
XYZxyz(11.7735, 7.5478, 2.2755)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F21 #217C8A
analogous
#8A2147 #8A2F21 #8A6321
triadic
#8A2F21 #218A2F #2F218A
tetradic
#8A2F21 #478A21 #217C8A #63218A
square
#8A2F21 #478A21 #217C8A #63218A
split-complementary
#8A2F21 #218A63 #21478A
monochromatic
#270D09 #591E15 #8A2F21 #BB402D #D56250

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2F21#FFFFFF#000000##FFFFFF
##8A2F211.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)
#48411F
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#98172C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f21;
/* rgb */ color: rgb(138, 47, 33);
/* oklch */ color: oklch(43.7% 0.127 31.3);
Tailwind
colors: {
  custom: {
    50: '#b36c5d',
    500: '#8a2f21',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f21;
$custom-light: #b36c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f21",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 33
  },
  "hsl": {
    "h": 8,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43708,
    "c": 0.127,
    "h": 31.3
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#8A2F21
secondary
#4EAAB9
accent
#CFE543
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A2F21

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

Preview Lab → · Contrast checker → · Palette generator →

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