#8A2039#8A2039

#8A2039 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.141 H 12.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#8A2039
RGBrgb(138, 32, 57)
HSLhsl(346, 62%, 33%)
HSVhsv(346, 77%, 54%)
CMYKcmyk(0%, 76.8%, 58.7%, 45.9%)
CIE-LABlab(31.19, 45.58, 11.95)
CIE-LCHlch(31.19, 47.12, 14.70°)
OKLaboklab(42.48% 0.1377 0.0298)
OKLCHoklch(42.48% 0.141 12.2)
XYZxyz(11.7374, 6.7334, 4.5517)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2039 #208A71
analogous
#8A206E #8A2039 #8A3C20
triadic
#8A2039 #398A20 #20398A
tetradic
#8A2039 #6E8A20 #208A71 #3C208A
square
#8A2039 #6E8A20 #208A71 #3C208A
split-complementary
#8A2039 #208A3C #206E8A
monochromatic
#270910 #581424 #8A2039 #BC2C4E #D64E6E

Accessibility & contrast

On white

8.95
#8A2039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A2039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2039
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2039#FFFFFF#000000##FFFFFF
##8A20391.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C39
Deuteranopia (green-blind)
#585136
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2039;
/* rgb */ color: rgb(138, 32, 57);
/* oklch */ color: oklch(42.5% 0.141 12.2);
Tailwind
colors: {
  custom: {
    50: '#b2656f',
    500: '#8a2039',
    950: '#000000',
  },
}
SCSS
$custom: #8a2039;
$custom-light: #b2656f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2039",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 57
  },
  "hsl": {
    "h": 345.849,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42476,
    "c": 0.14084,
    "h": 12.2
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#8A2039
secondary
#4DB9A0
accent
#E5BF42
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A2039

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

Preview Lab → · Contrast checker → · Palette generator →

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