#8A2F17#8A2F17

#8A2F17 is a dark, vivid red. Relative luminance 0.075; OKLCH L 43.6% C 0.129 H 35.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8A2F17
RGBrgb(138, 47, 23)
HSLhsl(13, 71%, 32%)
HSVhsv(13, 83%, 54%)
CMYKcmyk(0%, 65.9%, 83.3%, 45.9%)
CIE-LABlab(32.92, 37.54, 34.91)
CIE-LCHlch(32.92, 51.26, 42.92°)
OKLaboklab(43.6% 0.1053 0.075)
OKLCHoklch(43.6% 0.129 35.5)
XYZxyz(11.6537, 7.4999, 1.6444)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F17 #17728A
analogous
#8A1739 #8A2F17 #8A6917
triadic
#8A2F17 #178A2F #2F178A
tetradic
#8A2F17 #398A17 #17728A #69178A
square
#8A2F17 #398A17 #17728A #69178A
split-complementary
#8A2F17 #178A69 #17398A
monochromatic
#210B06 #561D0E #8A2F17 #BE4120 #DF5F3D

Accessibility & contrast

On white

8.40
#8A2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A2F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F17
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F17#FFFFFF#000000##FFFFFF
##8A2F171.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494113
Deuteranopia (green-blind)
#605513
Tritanopia (blue-blind)
#98162A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2f17;
/* rgb */ color: rgb(138, 47, 23);
/* oklch */ color: oklch(43.6% 0.129 35.5);
Tailwind
colors: {
  custom: {
    50: '#b46c56',
    500: '#8a2f17',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f17;
$custom-light: #b46c56;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f17",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 12.522,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43597,
    "c": 0.12922,
    "h": 35.5
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#8A2F17
secondary
#3FA3BE
accent
#C8EE3A
background
#FCF6F5
surface
#F8ECE9
border
#D1C7C5
text
#120703
muted
#817A78

Preview Lab

Preview with #8A2F17

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

Preview Lab → · Contrast checker → · Palette generator →

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