#8A251C#8A251C

#8A251C is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.138 H 29.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8A251C
RGBrgb(138, 37, 28)
HSLhsl(5, 66%, 33%)
HSVhsv(5, 80%, 54%)
CMYKcmyk(0%, 73.2%, 79.7%, 45.9%)
CIE-LABlab(31.38, 42.04, 30.59)
CIE-LCHlch(31.38, 51.99, 36.04°)
OKLaboklab(42.45% 0.1203 0.0672)
OKLCHoklch(42.45% 0.138 29.2)
XYZxyz(11.3537, 6.8120, 1.8154)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A251C #1C818A
analogous
#8A1C4A #8A251C #8A5C1C
triadic
#8A251C #1C8A25 #251C8A
tetradic
#8A251C #4A8A1C #1C818A #5C1C8A
square
#8A251C #4A8A1C #1C818A #5C1C8A
split-complementary
#8A251C #1C8A5C #1C4A8A
monochromatic
#240A07 #571712 #8A251C #BD3326 #DA5347

Accessibility & contrast

On white

8.89
#8A251C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A251C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A251C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A251C#FFFFFF#000000##FFFFFF
##8A251C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1A
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a251c;
/* rgb */ color: rgb(138, 37, 28);
/* oklch */ color: oklch(42.5% 0.138 29.2);
Tailwind
colors: {
  custom: {
    50: '#b46759',
    500: '#8a251c',
    950: '#000000',
  },
}
SCSS
$custom: #8a251c;
$custom-light: #b46759;
$custom-dark: #000000;
JSON
{
  "hex": "#8a251c",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 28
  },
  "hsl": {
    "h": 4.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.13774,
    "h": 29.2
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#8A251C
secondary
#46B2BB
accent
#DBE93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A251C

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

Preview Lab → · Contrast checker → · Palette generator →

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