#8A2F22#8A2F22

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

Color values

HEX#8A2F22
RGBrgb(138, 47, 34)
HSLhsl(8, 60%, 34%)
HSVhsv(8, 75%, 54%)
CMYKcmyk(0%, 65.9%, 75.4%, 45.9%)
CIE-LABlab(33.04, 37.99, 28.86)
CIE-LCHlch(33.04, 47.70, 37.22°)
OKLaboklab(43.72% 0.1088 0.065)
OKLCHoklch(43.72% 0.127 30.9)
XYZxyz(11.7877, 7.5535, 2.3503)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F22 #227D8A
analogous
#8A2249 #8A2F22 #8A6322
triadic
#8A2F22 #228A2F #2F228A
tetradic
#8A2F22 #498A22 #227D8A #63228A
square
#8A2F22 #498A22 #227D8A #63228A
split-complementary
#8A2F22 #228A63 #22498A
monochromatic
#280E0A #591E16 #8A2F22 #BB402E #D46252

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2F22#FFFFFF#000000##FFFFFF
##8A2F221.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)
#484120
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#98182D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f22;
/* rgb */ color: rgb(138, 47, 34);
/* oklch */ color: oklch(43.7% 0.127 30.9);
Tailwind
colors: {
  custom: {
    50: '#b36c5e',
    500: '#8a2f22',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f22;
$custom-light: #b36c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f22",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 7.5,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43721,
    "c": 0.12679,
    "h": 30.9
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#8A2F22
secondary
#50ABB8
accent
#D0E444
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A2F22

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

Preview Lab → · Contrast checker → · Palette generator →

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