#8A405A#8A405A

#8A405A is a mid, moderate pink. Relative luminance 0.098; OKLCH L 47.5% C 0.105 H 359.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A405A
RGBrgb(138, 64, 90)
HSLhsl(339, 37%, 40%)
HSVhsv(339, 54%, 54%)
CMYKcmyk(0%, 53.6%, 34.8%, 45.9%)
CIE-LABlab(37.50, 34.47, -0.39)
CIE-LCHlch(37.50, 34.47, 359.34°)
OKLaboklab(47.48% 0.1048 -0.0006)
OKLCHoklch(47.48% 0.105 359.7)
XYZxyz(14.1608, 9.8096, 10.8185)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A405A #408A70
analogous
#8A407F #8A405A #8A4B40
triadic
#8A405A #5A8A40 #405A8A
tetradic
#8A405A #7F8A40 #408A70 #4B408A
square
#8A405A #7F8A40 #408A70 #4B408A
split-complementary
#8A405A #408A4B #407F8A
monochromatic
#361923 #602D3F #8A405A #B15676 #C48098

Accessibility & contrast

On white

7.09
#8A405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A405A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A405A#FFFFFF#000000##FFFFFF
##8A405A1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505B
Deuteranopia (green-blind)
#5F5D58
Tritanopia (blue-blind)
#943A4A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a405a;
/* rgb */ color: rgb(138, 64, 90);
/* oklch */ color: oklch(47.5% 0.105 359.7);
Tailwind
colors: {
  custom: {
    50: '#af7788',
    500: '#8a405a',
    950: '#000000',
  },
}
SCSS
$custom: #8a405a;
$custom-light: #af7788;
$custom-dark: #000000;
JSON
{
  "hex": "#8a405a",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 338.919,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.10477,
    "h": 359.7
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#8A405A
secondary
#77AF9B
accent
#CDA55B
background
#FBF7F8
surface
#F6EDEF
border
#D0C8CA
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A405A

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

Preview Lab → · Contrast checker → · Palette generator →

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