#8A2838#8A2838

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

Color values

HEX#8A2838
RGBrgb(138, 40, 56)
HSLhsl(350, 55%, 35%)
HSVhsv(350, 71%, 54%)
CMYKcmyk(0%, 71%, 59.4%, 45.9%)
CIE-LABlab(32.28, 42.43, 14.07)
CIE-LCHlch(32.28, 44.71, 18.35°)
OKLaboklab(43.27% 0.1274 0.0348)
OKLCHoklch(43.27% 0.132 15.3)
XYZxyz(11.9550, 7.2080, 4.5024)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2838 #288A7A
analogous
#8A2869 #8A2838 #8A4928
triadic
#8A2838 #388A28 #28388A
tetradic
#8A2838 #698A28 #288A7A #49288A
square
#8A2838 #698A28 #288A7A #49288A
split-complementary
#8A2838 #288A49 #28698A
monochromatic
#2B0C11 #5B1A25 #8A2838 #B9364B #D05D6F

Accessibility & contrast

On white

8.60
#8A2838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2838
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2838#FFFFFF#000000##FFFFFF
##8A28381.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F38
Deuteranopia (green-blind)
#5A5335
Tritanopia (blue-blind)
#97112F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2838;
/* rgb */ color: rgb(138, 40, 56);
/* oklch */ color: oklch(43.3% 0.132 15.3);
Tailwind
colors: {
  custom: {
    50: '#b2696e',
    500: '#8a2838',
    950: '#000000',
  },
}
SCSS
$custom: #8a2838;
$custom-light: #b2696e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2838",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 350.204,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.13206,
    "h": 15.3
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#8A2838
secondary
#59B5A6
accent
#DEC649
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A2838

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

Preview Lab → · Contrast checker → · Palette generator →

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