#8A404C#8A404C

#8A404C is a mid, moderate red. Relative luminance 0.096; OKLCH L 47.0% C 0.101 H 11.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8A404C
RGBrgb(138, 64, 76)
HSLhsl(350, 37%, 40%)
HSVhsv(350, 54%, 54%)
CMYKcmyk(0%, 53.6%, 44.9%, 45.9%)
CIE-LABlab(37.10, 32.76, 7.89)
CIE-LCHlch(37.10, 33.69, 13.55°)
OKLaboklab(47.05% 0.0992 0.0205)
OKLCHoklch(47.05% 0.101 11.6)
XYZxyz(13.6200, 9.5933, 7.9705)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A404C #408A7E
analogous
#8A4071 #8A404C #8A5940
triadic
#8A404C #4C8A40 #404C8A
tetradic
#8A404C #718A40 #408A7E #59408A
square
#8A404C #718A40 #408A7E #59408A
split-complementary
#8A404C #408A59 #40718A
monochromatic
#36191E #602D35 #8A404C #B15665 #C4808B

Accessibility & contrast

On white

7.20
#8A404C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A404C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A404C
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A404C#FFFFFF#000000##FFFFFF
##8A404C1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4C
Deuteranopia (green-blind)
#625D4A
Tritanopia (blue-blind)
#953744
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a404c;
/* rgb */ color: rgb(138, 64, 76);
/* oklch */ color: oklch(47.0% 0.101 11.6);
Tailwind
colors: {
  custom: {
    50: '#af777d',
    500: '#8a404c',
    950: '#000000',
  },
}
SCSS
$custom: #8a404c;
$custom-light: #af777d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a404c",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 350.27,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.10133,
    "h": 11.6
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#8A404C
secondary
#77AFA6
accent
#CDBA5B
background
#FBF7F7
surface
#F6EDEE
border
#D0C8C9
text
#110909
muted
#807B7B

Preview Lab

Preview with #8A404C

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

Preview Lab → · Contrast checker → · Palette generator →

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