#8A404F#8A404F

#8A404F is a mid, moderate red. Relative luminance 0.096; OKLCH L 47.1% C 0.102 H 9.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8A404F
RGBrgb(138, 64, 79)
HSLhsl(348, 37%, 40%)
HSVhsv(348, 54%, 54%)
CMYKcmyk(0%, 53.6%, 42.8%, 45.9%)
CIE-LABlab(37.18, 33.10, 6.11)
CIE-LCHlch(37.18, 33.66, 10.45°)
OKLaboklab(47.13% 0.1005 0.016)
OKLCHoklch(47.13% 0.102 9.1)
XYZxyz(13.7267, 9.6360, 8.5326)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A404F #408A7B
analogous
#8A4074 #8A404F #8A5640
triadic
#8A404F #4F8A40 #404F8A
tetradic
#8A404F #748A40 #408A7B #56408A
square
#8A404F #748A40 #408A7B #56408A
split-complementary
#8A404F #408A56 #40748A
monochromatic
#36191F #602D37 #8A404F #B15669 #C4808E

Accessibility & contrast

On white

7.17
#8A404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A404F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A404F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A404F#FFFFFF#000000##FFFFFF
##8A404F1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4F
Deuteranopia (green-blind)
#615D4D
Tritanopia (blue-blind)
#953846
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a404f;
/* rgb */ color: rgb(138, 64, 79);
/* oklch */ color: oklch(47.1% 0.102 9.1);
Tailwind
colors: {
  custom: {
    50: '#af7780',
    500: '#8a404f',
    950: '#000000',
  },
}
SCSS
$custom: #8a404f;
$custom-light: #af7780;
$custom-dark: #000000;
JSON
{
  "hex": "#8a404f",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 347.838,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47134,
    "c": 0.10174,
    "h": 9.1
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#8A404F
secondary
#77AFA3
accent
#CDB65B
background
#FBF7F7
surface
#F6EDEE
border
#D0C8C9
text
#11090A
muted
#807B7C

Preview Lab

Preview with #8A404F

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

Preview Lab → · Contrast checker → · Palette generator →

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