#8A2840#8A2840

#8A2840 is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.5% C 0.133 H 10.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8A2840
RGBrgb(138, 40, 64)
HSLhsl(345, 55%, 35%)
HSVhsv(345, 71%, 54%)
CMYKcmyk(0%, 71%, 53.6%, 45.9%)
CIE-LABlab(32.46, 43.09, 9.11)
CIE-LCHlch(32.46, 44.04, 11.94°)
OKLaboklab(43.48% 0.1307 0.0232)
OKLCHoklch(43.48% 0.133 10.1)
XYZxyz(12.1665, 7.2926, 5.6164)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2840 #288A72
analogous
#8A2871 #8A2840 #8A4128
triadic
#8A2840 #408A28 #28408A
tetradic
#8A2840 #718A28 #288A72 #41288A
square
#8A2840 #718A28 #288A72 #41288A
split-complementary
#8A2840 #288A41 #28718A
monochromatic
#2B0C14 #5B1A2A #8A2840 #B93656 #D05D79

Accessibility & contrast

On white

8.54
#8A2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A2840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2840
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2840#FFFFFF#000000##FFFFFF
##8A28401.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#59543E
Tritanopia (blue-blind)
#971532
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2840;
/* rgb */ color: rgb(138, 40, 64);
/* oklch */ color: oklch(43.5% 0.133 10.1);
Tailwind
colors: {
  custom: {
    50: '#b16974',
    500: '#8a2840',
    950: '#000000',
  },
}
SCSS
$custom: #8a2840;
$custom-light: #b16974;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2840",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 345.306,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.13277,
    "h": 10.1
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#8A2840
secondary
#59B59F
accent
#DEBA49
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8A2840

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

Preview Lab → · Contrast checker → · Palette generator →

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