#8A2B31#8A2B31

#8A2B31 is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.5% C 0.129 H 20.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A2B31
RGBrgb(138, 43, 49)
HSLhsl(356, 52%, 35%)
HSVhsv(356, 69%, 54%)
CMYKcmyk(0%, 68.8%, 64.5%, 45.9%)
CIE-LABlab(32.60, 40.65, 19.03)
CIE-LCHlch(32.60, 44.89, 25.08°)
OKLaboklab(43.47% 0.1204 0.0457)
OKLCHoklch(43.47% 0.129 20.8)
XYZxyz(11.9007, 7.3544, 3.6980)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B31 #2B8A84
analogous
#8A2B60 #8A2B31 #8A552B
triadic
#8A2B31 #318A2B #2B318A
tetradic
#8A2B31 #608A2B #2B8A84 #552B8A
square
#8A2B31 #608A2B #2B8A84 #552B8A
split-complementary
#8A2B31 #2B8A55 #2B608A
monochromatic
#2D0E10 #5B1C20 #8A2B31 #B93A42 #CE6168

Accessibility & contrast

On white

8.50
#8A2B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A2B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B31
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B31#FFFFFF#000000##FFFFFF
##8A2B311.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444031
Deuteranopia (green-blind)
#5C542E
Tritanopia (blue-blind)
#98142E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2b31;
/* rgb */ color: rgb(138, 43, 49);
/* oklch */ color: oklch(43.5% 0.129 20.8);
Tailwind
colors: {
  custom: {
    50: '#b26a69',
    500: '#8a2b31',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b31;
$custom-light: #b26a69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b31",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 49
  },
  "hsl": {
    "h": 356.211,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4347,
    "c": 0.1288,
    "h": 20.8
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#8A2B31
secondary
#5DB4AE
accent
#DCD34C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A2B31

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

Preview Lab → · Contrast checker → · Palette generator →

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