#8A4052#8A4052

#8A4052 is a mid, moderate red. Relative luminance 0.097; OKLCH L 47.2% C 0.102 H 6.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8A4052
RGBrgb(138, 64, 82)
HSLhsl(345, 37%, 40%)
HSVhsv(345, 54%, 54%)
CMYKcmyk(0%, 53.6%, 40.6%, 45.9%)
CIE-LABlab(37.26, 33.46, 4.32)
CIE-LCHlch(37.26, 33.73, 7.36°)
OKLaboklab(47.22% 0.1017 0.0116)
OKLCHoklch(47.22% 0.102 6.5)
XYZxyz(13.8384, 9.6807, 9.1208)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4052 #408A78
analogous
#8A4077 #8A4052 #8A5340
triadic
#8A4052 #528A40 #40528A
tetradic
#8A4052 #778A40 #408A78 #53408A
square
#8A4052 #778A40 #408A78 #53408A
split-complementary
#8A4052 #408A53 #40778A
monochromatic
#361920 #602D39 #8A4052 #B1566C #C48091

Accessibility & contrast

On white

7.15
#8A4052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A4052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A4052
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4052#FFFFFF#000000##FFFFFF
##8A40521.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F52
Deuteranopia (green-blind)
#605D50
Tritanopia (blue-blind)
#953947
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a4052;
/* rgb */ color: rgb(138, 64, 82);
/* oklch */ color: oklch(47.2% 0.102 6.5);
Tailwind
colors: {
  custom: {
    50: '#af7782',
    500: '#8a4052',
    950: '#000000',
  },
}
SCSS
$custom: #8a4052;
$custom-light: #af7782;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4052",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 345.405,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.10233,
    "h": 6.5
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#8A4052
secondary
#77AFA1
accent
#CDB15B
background
#FBF7F7
surface
#F6EDEE
border
#D0C8C9
text
#11090A
muted
#807B7C

Preview Lab

Preview with #8A4052

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

Preview Lab → · Contrast checker → · Palette generator →

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