#8A1532#8A1532

#8A1532 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 13.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#8A1532
RGBrgb(138, 21, 50)
HSLhsl(345, 74%, 31%)
HSVhsv(345, 85%, 54%)
CMYKcmyk(0%, 84.8%, 63.8%, 45.9%)
CIE-LABlab(29.84, 48.46, 14.77)
CIE-LCHlch(29.84, 50.66, 16.96°)
OKLaboklab(41.43% 0.1456 0.036)
OKLCHoklch(41.43% 0.15 13.9)
XYZxyz(11.3263, 6.1716, 3.6119)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1532 #158A6D
analogous
#8A156C #8A1532 #8A3215
triadic
#8A1532 #328A15 #15328A
tetradic
#8A1532 #6C8A15 #158A6D #32158A
square
#8A1532 #6C8A15 #158A6D #32158A
split-complementary
#8A1532 #158A32 #156C8A
monochromatic
#20050C #550D1F #8A1532 #BF1D45 #E13962

Accessibility & contrast

On white

9.40
#8A1532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#8A1532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1532
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1532#FFFFFF#000000##FFFFFF
##8A15321.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383732
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1532;
/* rgb */ color: rgb(138, 21, 50);
/* oklch */ color: oklch(41.4% 0.150 13.9);
Tailwind
colors: {
  custom: {
    50: '#b36169',
    500: '#8a1532',
    950: '#000000',
  },
}
SCSS
$custom: #8a1532;
$custom-light: #b36169;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1532",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 345.128,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.15001,
    "h": 13.9
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#8A1532
secondary
#3DBE9E
accent
#F0C238
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1532

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

Preview Lab → · Contrast checker → · Palette generator →

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