#8A1832#8A1832

#8A1832 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.148 H 14.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#8A1832
RGBrgb(138, 24, 50)
HSLhsl(346, 70%, 32%)
HSVhsv(346, 83%, 54%)
CMYKcmyk(0%, 82.6%, 63.8%, 45.9%)
CIE-LABlab(30.13, 47.64, 15.16)
CIE-LCHlch(30.13, 49.99, 17.65°)
OKLaboklab(41.64% 0.143 0.0369)
OKLCHoklch(41.64% 0.148 14.5)
XYZxyz(11.3848, 6.2886, 3.6313)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1832 #188A70
analogous
#8A186B #8A1832 #8A3718
triadic
#8A1832 #328A18 #18328A
tetradic
#8A1832 #6B8A18 #188A70 #37188A
square
#8A1832 #6B8A18 #188A70 #37188A
split-complementary
#8A1832 #188A37 #186B8A
monochromatic
#22060C #560F1F #8A1832 #BE2145 #DE3F63

Accessibility & contrast

On white

9.30
#8A1832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1832
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1832#FFFFFF#000000##FFFFFF
##8A18321.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3832
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1832;
/* rgb */ color: rgb(138, 24, 50);
/* oklch */ color: oklch(41.6% 0.148 14.5);
Tailwind
colors: {
  custom: {
    50: '#b36269',
    500: '#8a1832',
    950: '#000000',
  },
}
SCSS
$custom: #8a1832;
$custom-light: #b36269;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1832",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 346.316,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.14767,
    "h": 14.5
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#8A1832
secondary
#40BDA1
accent
#EDC43B
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1832

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

Preview Lab → · Contrast checker → · Palette generator →

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