#8A2531#8A2531

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

Color values

HEX#8A2531
RGBrgb(138, 37, 49)
HSLhsl(353, 58%, 34%)
HSVhsv(353, 73%, 54%)
CMYKcmyk(0%, 73.2%, 64.5%, 45.9%)
CIE-LABlab(31.69, 43.14, 17.86)
CIE-LCHlch(31.69, 46.69, 22.48°)
OKLaboklab(42.79% 0.1283 0.043)
OKLCHoklch(42.79% 0.135 18.5)
XYZxyz(11.6984, 6.9498, 3.6306)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2531 #258A7E
analogous
#8A2564 #8A2531 #8A4C25
triadic
#8A2531 #318A25 #25318A
tetradic
#8A2531 #648A25 #258A7E #4C258A
square
#8A2531 #648A25 #258A7E #4C258A
split-complementary
#8A2531 #258A4C #25648A
monochromatic
#290B0F #5A1820 #8A2531 #BA3242 #D25766

Accessibility & contrast

On white

8.79
#8A2531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2531
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2531#FFFFFF#000000##FFFFFF
##8A25311.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D31
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#98062A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2531;
/* rgb */ color: rgb(138, 37, 49);
/* oklch */ color: oklch(42.8% 0.135 18.5);
Tailwind
colors: {
  custom: {
    50: '#b26768',
    500: '#8a2531',
    950: '#000000',
  },
}
SCSS
$custom: #8a2531;
$custom-light: #b26768;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2531",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 49
  },
  "hsl": {
    "h": 352.871,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.13536,
    "h": 18.5
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#8A2531
secondary
#54B7AB
accent
#E1CF47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A2531

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

Preview Lab → · Contrast checker → · Palette generator →

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