#8A2F31#8A2F31

#8A2F31 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.0% C 0.124 H 22.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8A2F31
RGBrgb(138, 47, 49)
HSLhsl(359, 49%, 36%)
HSVhsv(359, 66%, 54%)
CMYKcmyk(0%, 65.9%, 64.5%, 45.9%)
CIE-LABlab(33.26, 38.86, 19.87)
CIE-LCHlch(33.26, 43.65, 27.09°)
OKLaboklab(43.97% 0.1147 0.0476)
OKLCHoklch(43.97% 0.124 22.5)
XYZxyz(12.0533, 7.6597, 3.7489)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F31 #2F8A88
analogous
#8A2F5F #8A2F31 #8A5B2F
triadic
#8A2F31 #318A2F #2F318A
tetradic
#8A2F31 #5F8A2F #2F8A88 #5B2F8A
square
#8A2F31 #5F8A2F #2F8A88 #5B2F8A
split-complementary
#8A2F31 #2F8A5B #2F5F8A
monochromatic
#2F1011 #5C1F21 #8A2F31 #B83F41 #CC686A

Accessibility & contrast

On white

8.30
#8A2F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A2F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F31
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F31#FFFFFF#000000##FFFFFF
##8A2F311.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474230
Deuteranopia (green-blind)
#5E552F
Tritanopia (blue-blind)
#971B31
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2f31;
/* rgb */ color: rgb(138, 47, 49);
/* oklch */ color: oklch(44.0% 0.124 22.5);
Tailwind
colors: {
  custom: {
    50: '#b26c69',
    500: '#8a2f31',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f31;
$custom-light: #b26c69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f31",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 358.681,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43967,
    "c": 0.12422,
    "h": 22.5
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#8A2F31
secondary
#62B3B1
accent
#D9D64F
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A2F31

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

Preview Lab → · Contrast checker → · Palette generator →

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