#8A2F1F#8A2F1F

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

Color values

HEX#8A2F1F
RGBrgb(138, 47, 31)
HSLhsl(9, 63%, 33%)
HSVhsv(9, 78%, 54%)
CMYKcmyk(0%, 65.9%, 77.5%, 45.9%)
CIE-LABlab(33.00, 37.85, 30.57)
CIE-LCHlch(33.00, 48.65, 38.93°)
OKLaboklab(43.68% 0.1078 0.068)
OKLCHoklch(43.68% 0.127 32.2)
XYZxyz(11.7463, 7.5369, 2.1323)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F1F #1F7A8A
analogous
#8A1F44 #8A2F1F #8A641F
triadic
#8A2F1F #1F8A2F #2F1F8A
tetradic
#8A2F1F #448A1F #1F7A8A #641F8A
square
#8A2F1F #448A1F #1F7A8A #641F8A
split-complementary
#8A2F1F #1F8A64 #1F448A
monochromatic
#260D09 #581E14 #8A2F1F #BC402A #D7614C

Accessibility & contrast

On white

8.38
#8A2F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F1F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F1F#FFFFFF#000000##FFFFFF
##8A2F1F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411D
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#98172C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f1f;
/* rgb */ color: rgb(138, 47, 31);
/* oklch */ color: oklch(43.7% 0.127 32.2);
Tailwind
colors: {
  custom: {
    50: '#b36c5b',
    500: '#8a2f1f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f1f;
$custom-light: #b36c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f1f",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 8.972,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.12744,
    "h": 32.2
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#8A2F1F
secondary
#4BA9BA
accent
#CEE641
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A2F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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