#8A3540#8A3540

#8A3540 is a mid, moderate red. Relative luminance 0.083; OKLCH L 45.1% C 0.116 H 15.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A3540
RGBrgb(138, 53, 64)
HSLhsl(352, 45%, 37%)
HSVhsv(352, 62%, 54%)
CMYKcmyk(0%, 61.6%, 53.6%, 45.9%)
CIE-LABlab(34.64, 37.20, 12.12)
CIE-LCHlch(34.64, 39.12, 18.04°)
OKLaboklab(45.1% 0.112 0.0305)
OKLCHoklch(45.1% 0.116 15.2)
XYZxyz(12.6808, 8.3212, 5.7879)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3540 #358A7F
analogous
#8A356B #8A3540 #8A5435
triadic
#8A3540 #408A35 #35408A
tetradic
#8A3540 #6B8A35 #358A7F #54358A
square
#8A3540 #6B8A35 #358A7F #54358A
split-complementary
#8A3540 #358A54 #356B8A
monochromatic
#321317 #5E242B #8A3540 #B64655 #C8717C

Accessibility & contrast

On white

7.88
#8A3540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A3540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3540
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3540#FFFFFF#000000##FFFFFF
##8A35401.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484740
Deuteranopia (green-blind)
#5E583E
Tritanopia (blue-blind)
#962839
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a3540;
/* rgb */ color: rgb(138, 53, 64);
/* oklch */ color: oklch(45.1% 0.116 15.2);
Tailwind
colors: {
  custom: {
    50: '#b17074',
    500: '#8a3540',
    950: '#000000',
  },
}
SCSS
$custom: #8a3540;
$custom-light: #b17074;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3540",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 64
  },
  "hsl": {
    "h": 352.235,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45102,
    "c": 0.11608,
    "h": 15.2
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#8A3540
secondary
#6AB1A8
accent
#D4C454
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110808
muted
#807B7B

Preview Lab

Preview with #8A3540

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

Preview Lab → · Contrast checker → · Palette generator →

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