#8A2731#8A2731

#8A2731 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.0% C 0.133 H 19.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8A2731
RGBrgb(138, 39, 49)
HSLhsl(354, 56%, 35%)
HSVhsv(354, 72%, 54%)
CMYKcmyk(0%, 71.7%, 64.5%, 45.9%)
CIE-LABlab(31.98, 42.34, 18.23)
CIE-LCHlch(31.98, 46.10, 23.30°)
OKLaboklab(43.01% 0.1258 0.0439)
OKLCHoklch(43.01% 0.133 19.2)
XYZxyz(11.7623, 7.0777, 3.6519)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2731 #278A80
analogous
#8A2763 #8A2731 #8A4E27
triadic
#8A2731 #318A27 #27318A
tetradic
#8A2731 #638A27 #278A80 #4E278A
square
#8A2731 #638A27 #278A80 #4E278A
split-complementary
#8A2731 #278A4E #27638A
monochromatic
#2B0C0F #5A1A20 #8A2731 #BA3442 #D15B67

Accessibility & contrast

On white

8.69
#8A2731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A2731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2731
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2731#FFFFFF#000000##FFFFFF
##8A27311.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E31
Deuteranopia (green-blind)
#5B532E
Tritanopia (blue-blind)
#980B2B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2731;
/* rgb */ color: rgb(138, 39, 49);
/* oklch */ color: oklch(43.0% 0.133 19.2);
Tailwind
colors: {
  custom: {
    50: '#b26869',
    500: '#8a2731',
    950: '#000000',
  },
}
SCSS
$custom: #8a2731;
$custom-light: #b26869;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2731",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 353.939,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.13322,
    "h": 19.2
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#8A2731
secondary
#57B6AC
accent
#DFD049
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A2731

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

Preview Lab → · Contrast checker → · Palette generator →

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