#8A2837#8A2837

#8A2837 is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.3% C 0.132 H 15.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8A2837
RGBrgb(138, 40, 55)
HSLhsl(351, 55%, 35%)
HSVhsv(351, 71%, 54%)
CMYKcmyk(0%, 71%, 60.1%, 45.9%)
CIE-LABlab(32.25, 42.36, 14.70)
CIE-LCHlch(32.25, 44.83, 19.13°)
OKLaboklab(43.25% 0.127 0.0362)
OKLCHoklch(43.25% 0.132 15.9)
XYZxyz(11.9308, 7.1983, 4.3749)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2837 #288A7B
analogous
#8A2868 #8A2837 #8A4A28
triadic
#8A2837 #378A28 #28378A
tetradic
#8A2837 #688A28 #288A7B #4A288A
square
#8A2837 #688A28 #288A7B #4A288A
split-complementary
#8A2837 #288A4A #28688A
monochromatic
#2B0C11 #5B1A24 #8A2837 #B9364A #D05D6E

Accessibility & contrast

On white

8.61
#8A2837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A2837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2837
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2837#FFFFFF#000000##FFFFFF
##8A28371.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F37
Deuteranopia (green-blind)
#5A5334
Tritanopia (blue-blind)
#97112E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2837;
/* rgb */ color: rgb(138, 40, 55);
/* oklch */ color: oklch(43.3% 0.132 15.9);
Tailwind
colors: {
  custom: {
    50: '#b2696d',
    500: '#8a2837',
    950: '#000000',
  },
}
SCSS
$custom: #8a2837;
$custom-light: #b2696d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2837",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 350.816,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43251,
    "c": 0.13204,
    "h": 15.9
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#8A2837
secondary
#59B5A7
accent
#DEC849
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A2837

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

Preview Lab → · Contrast checker → · Palette generator →

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