#8A2528#8A2528

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

Color values

HEX#8A2528
RGBrgb(138, 37, 40)
HSLhsl(358, 58%, 34%)
HSVhsv(358, 73%, 54%)
CMYKcmyk(0%, 73.2%, 71%, 45.9%)
CIE-LABlab(31.54, 42.60, 23.43)
CIE-LCHlch(31.54, 48.62, 28.81°)
OKLaboklab(42.63% 0.1247 0.0544)
OKLCHoklch(42.63% 0.136 23.6)
XYZxyz(11.5271, 6.8813, 2.7283)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2528 #258A87
analogous
#8A255B #8A2528 #8A5525
triadic
#8A2528 #288A25 #25288A
tetradic
#8A2528 #5B8A25 #258A87 #55258A
square
#8A2528 #5B8A25 #258A87 #55258A
split-complementary
#8A2528 #258A55 #255B8A
monochromatic
#290B0C #5A181A #8A2528 #BA3236 #D2575B

Accessibility & contrast

On white

8.84
#8A2528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2528
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2528#FFFFFF#000000##FFFFFF
##8A25281.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2528;
/* rgb */ color: rgb(138, 37, 40);
/* oklch */ color: oklch(42.6% 0.136 23.6);
Tailwind
colors: {
  custom: {
    50: '#b36762',
    500: '#8a2528',
    950: '#000000',
  },
}
SCSS
$custom: #8a2528;
$custom-light: #b36762;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2528",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 40
  },
  "hsl": {
    "h": 358.218,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.13601,
    "h": 23.6
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#8A2528
secondary
#54B7B4
accent
#E1DC47
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2528

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

Preview Lab → · Contrast checker → · Palette generator →

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