#8A2532#8A2532

#8A2532 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.135 H 17.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8A2532
RGBrgb(138, 37, 50)
HSLhsl(352, 58%, 34%)
HSVhsv(352, 73%, 54%)
CMYKcmyk(0%, 73.2%, 63.8%, 45.9%)
CIE-LABlab(31.71, 43.21, 17.23)
CIE-LCHlch(31.71, 46.52, 21.74°)
OKLaboklab(42.81% 0.1288 0.0417)
OKLCHoklch(42.81% 0.135 17.9)
XYZxyz(11.7197, 6.9584, 3.7430)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2532 #258A7D
analogous
#8A2565 #8A2532 #8A4B25
triadic
#8A2532 #328A25 #25328A
tetradic
#8A2532 #658A25 #258A7D #4B258A
square
#8A2532 #658A25 #258A7D #4B258A
split-complementary
#8A2532 #258A4B #25658A
monochromatic
#290B0F #5A1821 #8A2532 #BA3243 #D25767

Accessibility & contrast

On white

8.78
#8A2532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A2532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2532
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2532#FFFFFF#000000##FFFFFF
##8A25321.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D32
Deuteranopia (green-blind)
#5A522F
Tritanopia (blue-blind)
#98072B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2532;
/* rgb */ color: rgb(138, 37, 50);
/* oklch */ color: oklch(42.8% 0.135 17.9);
Tailwind
colors: {
  custom: {
    50: '#b26769',
    500: '#8a2532',
    950: '#000000',
  },
}
SCSS
$custom: #8a2532;
$custom-light: #b26769;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2532",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 50
  },
  "hsl": {
    "h": 352.277,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.13534,
    "h": 17.9
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#8A2532
secondary
#54B7AA
accent
#E1CD47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A2532

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

Preview Lab → · Contrast checker → · Palette generator →

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