#8A2E31#8A2E31

#8A2E31 is a dark, vivid red. Relative luminance 0.076; OKLCH L 43.8% C 0.125 H 22.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8A2E31
RGBrgb(138, 46, 49)
HSLhsl(358, 50%, 36%)
HSVhsv(358, 67%, 54%)
CMYKcmyk(0%, 66.7%, 64.5%, 45.9%)
CIE-LABlab(33.09, 39.32, 19.66)
CIE-LCHlch(33.09, 43.96, 26.56°)
OKLaboklab(43.84% 0.1162 0.0471)
OKLCHoklch(43.84% 0.125 22.1)
XYZxyz(12.0138, 7.5807, 3.7357)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E31 #2E8A87
analogous
#8A2E5F #8A2E31 #8A592E
triadic
#8A2E31 #318A2E #2E318A
tetradic
#8A2E31 #5F8A2E #2E8A87 #592E8A
square
#8A2E31 #5F8A2E #2E8A87 #592E8A
split-complementary
#8A2E31 #2E8A59 #2E5F8A
monochromatic
#2E0F10 #5C1F21 #8A2E31 #B83D41 #CC666A

Accessibility & contrast

On white

8.35
#8A2E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A2E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E31
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E31#FFFFFF#000000##FFFFFF
##8A2E311.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464130
Deuteranopia (green-blind)
#5D552F
Tritanopia (blue-blind)
#971A30
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2e31;
/* rgb */ color: rgb(138, 46, 49);
/* oklch */ color: oklch(43.8% 0.125 22.1);
Tailwind
colors: {
  custom: {
    50: '#b26c69',
    500: '#8a2e31',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e31;
$custom-light: #b26c69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e31",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 49
  },
  "hsl": {
    "h": 358.043,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.12537,
    "h": 22.1
  },
  "luminance": 0.07579
}

Semantic roles & 50–950 ramp

primary
#8A2E31
secondary
#61B3B0
accent
#DAD54E
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A2E31

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

Preview Lab → · Contrast checker → · Palette generator →

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