#8A2526#8A2526

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

Color values

HEX#8A2526
RGBrgb(138, 37, 38)
HSLhsl(359, 58%, 34%)
HSVhsv(359, 73%, 54%)
CMYKcmyk(0%, 73.2%, 72.5%, 45.9%)
CIE-LABlab(31.50, 42.49, 24.66)
CIE-LCHlch(31.50, 49.13, 30.12°)
OKLaboklab(42.59% 0.1239 0.0567)
OKLCHoklch(42.59% 0.136 24.6)
XYZxyz(11.4939, 6.8681, 2.5538)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2526 #258A89
analogous
#8A2559 #8A2526 #8A5725
triadic
#8A2526 #268A25 #25268A
tetradic
#8A2526 #598A25 #258A89 #57258A
square
#8A2526 #598A25 #258A89 #57258A
split-complementary
#8A2526 #258A57 #25598A
monochromatic
#290B0B #5A1819 #8A2526 #BA3233 #D25759

Accessibility & contrast

On white

8.85
#8A2526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A2526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2526
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2526#FFFFFF#000000##FFFFFF
##8A25261.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C25
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#980127
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2526;
/* rgb */ color: rgb(138, 37, 38);
/* oklch */ color: oklch(42.6% 0.136 24.6);
Tailwind
colors: {
  custom: {
    50: '#b36760',
    500: '#8a2526',
    950: '#000000',
  },
}
SCSS
$custom: #8a2526;
$custom-light: #b36760;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2526",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 38
  },
  "hsl": {
    "h": 359.406,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42592,
    "c": 0.13625,
    "h": 24.6
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#8A2526
secondary
#54B7B6
accent
#E1DF47
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2526

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

Preview Lab → · Contrast checker → · Palette generator →

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