#8A405E#8A405E

#8A405E is a mid, moderate pink. Relative luminance 0.099; OKLCH L 47.6% C 0.106 H 356.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A405E
RGBrgb(138, 64, 94)
HSLhsl(336, 37%, 40%)
HSVhsv(336, 54%, 54%)
CMYKcmyk(0%, 53.6%, 31.9%, 45.9%)
CIE-LABlab(37.63, 35.01, -2.73)
CIE-LCHlch(37.63, 35.11, 355.54°)
OKLaboklab(47.61% 0.1062 -0.0067)
OKLCHoklch(47.61% 0.106 356.4)
XYZxyz(14.3356, 9.8795, 11.7395)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A405E #408A6C
analogous
#8A4083 #8A405E #8A4740
triadic
#8A405E #5E8A40 #405E8A
tetradic
#8A405E #838A40 #408A6C #47408A
square
#8A405E #838A40 #408A6C #47408A
split-complementary
#8A405E #408A47 #40838A
monochromatic
#361925 #602D42 #8A405E #B1567B #C4809C

Accessibility & contrast

On white

7.06
#8A405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A405E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A405E#FFFFFF#000000##FFFFFF
##8A405E1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505F
Deuteranopia (green-blind)
#5E5E5C
Tritanopia (blue-blind)
#943B4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a405e;
/* rgb */ color: rgb(138, 64, 94);
/* oklch */ color: oklch(47.6% 0.106 356.4);
Tailwind
colors: {
  custom: {
    50: '#af778b',
    500: '#8a405e',
    950: '#000000',
  },
}
SCSS
$custom: #8a405e;
$custom-light: #af778b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a405e",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 335.676,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47614,
    "c": 0.10645,
    "h": 356.4
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#8A405E
secondary
#77AF98
accent
#CD9F5B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A405E

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

Preview Lab → · Contrast checker → · Palette generator →

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