#8A405B#8A405B

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

Color values

HEX#8A405B
RGBrgb(138, 64, 91)
HSLhsl(338, 37%, 40%)
HSVhsv(338, 54%, 54%)
CMYKcmyk(0%, 53.6%, 34.1%, 45.9%)
CIE-LABlab(37.53, 34.60, -0.98)
CIE-LCHlch(37.53, 34.62, 358.38°)
OKLaboklab(47.51% 0.1052 -0.0021)
OKLCHoklch(47.51% 0.105 358.8)
XYZxyz(14.2036, 9.8267, 11.0442)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A405B #408A6F
analogous
#8A4080 #8A405B #8A4A40
triadic
#8A405B #5B8A40 #405B8A
tetradic
#8A405B #808A40 #408A6F #4A408A
square
#8A405B #808A40 #408A6F #4A408A
split-complementary
#8A405B #408A4A #40808A
monochromatic
#361924 #602D3F #8A405B #B15677 #C48099

Accessibility & contrast

On white

7.08
#8A405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A405B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A405B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A405B#FFFFFF#000000##FFFFFF
##8A405B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505C
Deuteranopia (green-blind)
#5F5D59
Tritanopia (blue-blind)
#943B4A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a405b;
/* rgb */ color: rgb(138, 64, 91);
/* oklch */ color: oklch(47.5% 0.105 358.8);
Tailwind
colors: {
  custom: {
    50: '#af7789',
    500: '#8a405b',
    950: '#000000',
  },
}
SCSS
$custom: #8a405b;
$custom-light: #af7789;
$custom-dark: #000000;
JSON
{
  "hex": "#8a405b",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 338.108,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.10517,
    "h": 358.8
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#8A405B
secondary
#77AF9A
accent
#CDA35B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A405B

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

Preview Lab → · Contrast checker → · Palette generator →

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