#8A2527#8A2527

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

Color values

HEX#8A2527
RGBrgb(138, 37, 39)
HSLhsl(359, 58%, 34%)
HSVhsv(359, 73%, 54%)
CMYKcmyk(0%, 73.2%, 71.7%, 45.9%)
CIE-LABlab(31.52, 42.55, 24.04)
CIE-LCHlch(31.52, 48.87, 29.47°)
OKLaboklab(42.61% 0.1243 0.0555)
OKLCHoklch(42.61% 0.136 24.1)
XYZxyz(11.5103, 6.8746, 2.6399)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2527 #258A88
analogous
#8A255A #8A2527 #8A5625
triadic
#8A2527 #278A25 #25278A
tetradic
#8A2527 #5A8A25 #258A88 #56258A
square
#8A2527 #5A8A25 #258A88 #56258A
split-complementary
#8A2527 #258A56 #255A8A
monochromatic
#290B0C #5A1819 #8A2527 #BA3235 #D2575A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2527#FFFFFF#000000##FFFFFF
##8A25271.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2527;
/* rgb */ color: rgb(138, 37, 39);
/* oklch */ color: oklch(42.6% 0.136 24.1);
Tailwind
colors: {
  custom: {
    50: '#b36761',
    500: '#8a2527',
    950: '#000000',
  },
}
SCSS
$custom: #8a2527;
$custom-light: #b36761;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2527",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 39
  },
  "hsl": {
    "h": 358.812,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42608,
    "c": 0.13613,
    "h": 24.1
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#8A2527
secondary
#54B7B5
accent
#E1DE47
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2527

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

Preview Lab → · Contrast checker → · Palette generator →

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