#8A2F3A#8A2F3A

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

Color values

HEX#8A2F3A
RGBrgb(138, 47, 58)
HSLhsl(353, 49%, 36%)
HSVhsv(353, 66%, 54%)
CMYKcmyk(0%, 65.9%, 58%, 45.9%)
CIE-LABlab(33.44, 39.53, 14.34)
CIE-LCHlch(33.44, 42.06, 19.94°)
OKLaboklab(44.16% 0.1185 0.0355)
OKLCHoklch(44.16% 0.124 16.7)
XYZxyz(12.2626, 7.7434, 4.8511)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F3A #2F8A7F
analogous
#8A2F68 #8A2F3A #8A522F
triadic
#8A2F3A #3A8A2F #2F3A8A
tetradic
#8A2F3A #688A2F #2F8A7F #522F8A
square
#8A2F3A #688A2F #2F8A7F #522F8A
split-complementary
#8A2F3A #2F8A52 #2F688A
monochromatic
#2F1014 #5C1F27 #8A2F3A #B83F4D #CC6874

Accessibility & contrast

On white

8.24
#8A2F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A2F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F3A
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F3A#FFFFFF#000000##FFFFFF
##8A2F3A1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45433A
Deuteranopia (green-blind)
#5C5638
Tritanopia (blue-blind)
#971E33
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2f3a;
/* rgb */ color: rgb(138, 47, 58);
/* oklch */ color: oklch(44.2% 0.124 16.7);
Tailwind
colors: {
  custom: {
    50: '#b16d70',
    500: '#8a2f3a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f3a;
$custom-light: #b16d70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f3a",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 58
  },
  "hsl": {
    "h": 352.747,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44159,
    "c": 0.12372,
    "h": 16.7
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#8A2F3A
secondary
#62B3A9
accent
#D9C84F
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A2F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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