#8A2831#8A2831

#8A2831 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.1% C 0.132 H 19.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8A2831
RGBrgb(138, 40, 49)
HSLhsl(354, 55%, 35%)
HSVhsv(354, 71%, 54%)
CMYKcmyk(0%, 71%, 64.5%, 45.9%)
CIE-LABlab(32.13, 41.93, 18.42)
CIE-LCHlch(32.13, 45.80, 23.72°)
OKLaboklab(43.12% 0.1245 0.0443)
OKLCHoklch(43.12% 0.132 19.6)
XYZxyz(11.7956, 7.1443, 3.6630)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2831 #288A81
analogous
#8A2862 #8A2831 #8A5028
triadic
#8A2831 #318A28 #28318A
tetradic
#8A2831 #628A28 #288A81 #50288A
square
#8A2831 #628A28 #288A81 #50288A
split-complementary
#8A2831 #288A50 #28628A
monochromatic
#2B0C0F #5B1A20 #8A2831 #B93642 #D05D67

Accessibility & contrast

On white

8.65
#8A2831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A2831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2831
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2831#FFFFFF#000000##FFFFFF
##8A28311.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2831;
/* rgb */ color: rgb(138, 40, 49);
/* oklch */ color: oklch(43.1% 0.132 19.6);
Tailwind
colors: {
  custom: {
    50: '#b26969',
    500: '#8a2831',
    950: '#000000',
  },
}
SCSS
$custom: #8a2831;
$custom-light: #b26969;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2831",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 354.49,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43121,
    "c": 0.13213,
    "h": 19.6
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#8A2831
secondary
#59B5AD
accent
#DED149
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A2831

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

Preview Lab → · Contrast checker → · Palette generator →

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