#8A2F18#8A2F18

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

Color values

HEX#8A2F18
RGBrgb(138, 47, 24)
HSLhsl(12, 70%, 32%)
HSVhsv(12, 83%, 54%)
CMYKcmyk(0%, 65.9%, 82.6%, 45.9%)
CIE-LABlab(32.93, 37.57, 34.39)
CIE-LCHlch(32.93, 50.93, 42.47°)
OKLaboklab(43.61% 0.1055 0.0742)
OKLCHoklch(43.61% 0.129 35.1)
XYZxyz(11.6639, 7.5039, 1.6982)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F18 #18738A
analogous
#8A183A #8A2F18 #8A6818
triadic
#8A2F18 #188A2F #2F188A
tetradic
#8A2F18 #3A8A18 #18738A #68188A
square
#8A2F18 #3A8A18 #18738A #68188A
split-complementary
#8A2F18 #188A68 #183A8A
monochromatic
#220B06 #561D0F #8A2F18 #BE4121 #DE5F3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2F18#FFFFFF#000000##FFFFFF
##8A2F181.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)
#494115
Deuteranopia (green-blind)
#605514
Tritanopia (blue-blind)
#98162A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2f18;
/* rgb */ color: rgb(138, 47, 24);
/* oklch */ color: oklch(43.6% 0.129 35.1);
Tailwind
colors: {
  custom: {
    50: '#b46c57',
    500: '#8a2f18',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f18;
$custom-light: #b46c57;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f18",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 12.105,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43606,
    "c": 0.129,
    "h": 35.1
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#8A2F18
secondary
#40A4BD
accent
#C9ED3B
background
#FCF6F5
surface
#F8ECE9
border
#D1C7C5
text
#120703
muted
#817A78

Preview Lab

Preview with #8A2F18

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

Preview Lab → · Contrast checker → · Palette generator →

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