#8A252A#8A252A

#8A252A is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.136 H 22.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8A252A
RGBrgb(138, 37, 42)
HSLhsl(357, 58%, 34%)
HSVhsv(357, 73%, 54%)
CMYKcmyk(0%, 73.2%, 69.6%, 45.9%)
CIE-LABlab(31.57, 42.71, 22.20)
CIE-LCHlch(31.57, 48.14, 27.47°)
OKLaboklab(42.66% 0.1255 0.052)
OKLCHoklch(42.66% 0.136 22.5)
XYZxyz(11.5620, 6.8953, 2.9122)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A252A #258A85
analogous
#8A255D #8A252A #8A5325
triadic
#8A252A #2A8A25 #252A8A
tetradic
#8A252A #5D8A25 #258A85 #53258A
square
#8A252A #5D8A25 #258A85 #53258A
split-complementary
#8A252A #258A53 #255D8A
monochromatic
#290B0D #5A181B #8A252A #BA3239 #D2575D

Accessibility & contrast

On white

8.83
#8A252A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A252A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A252A
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A252A#FFFFFF#000000##FFFFFF
##8A252A1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D29
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#980228
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a252a;
/* rgb */ color: rgb(138, 37, 42);
/* oklch */ color: oklch(42.7% 0.136 22.5);
Tailwind
colors: {
  custom: {
    50: '#b36763',
    500: '#8a252a',
    950: '#000000',
  },
}
SCSS
$custom: #8a252a;
$custom-light: #b36763;
$custom-dark: #000000;
JSON
{
  "hex": "#8a252a",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 357.03,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.1358,
    "h": 22.5
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#8A252A
secondary
#54B7B2
accent
#E1D947
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A252A

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

Preview Lab → · Contrast checker → · Palette generator →

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