#8A405F#8A405F

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

Color values

HEX#8A405F
RGBrgb(138, 64, 95)
HSLhsl(335, 37%, 40%)
HSVhsv(335, 54%, 54%)
CMYKcmyk(0%, 53.6%, 31.2%, 45.9%)
CIE-LABlab(37.66, 35.15, -3.31)
CIE-LCHlch(37.66, 35.30, 354.61°)
OKLaboklab(47.65% 0.1066 -0.0083)
OKLCHoklch(47.65% 0.107 355.6)
XYZxyz(14.3808, 9.8976, 11.9773)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A405F #408A6B
analogous
#8A4084 #8A405F #8A4640
triadic
#8A405F #5F8A40 #405F8A
tetradic
#8A405F #848A40 #408A6B #46408A
square
#8A405F #848A40 #408A6B #46408A
split-complementary
#8A405F #408A46 #40848A
monochromatic
#361925 #602D42 #8A405F #B1567C #C4809D

Accessibility & contrast

On white

7.05
#8A405F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A405F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A405F#FFFFFF#000000##FFFFFF
##8A405F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#5E5E5D
Tritanopia (blue-blind)
#943C4C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a405f;
/* rgb */ color: rgb(138, 64, 95);
/* oklch */ color: oklch(47.6% 0.107 355.6);
Tailwind
colors: {
  custom: {
    50: '#af788c',
    500: '#8a405f',
    950: '#000000',
  },
}
SCSS
$custom: #8a405f;
$custom-light: #af788c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a405f",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 334.865,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47649,
    "c": 0.10692,
    "h": 355.6
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#8A405F
secondary
#77AF97
accent
#CD9D5B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A405F

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

Preview Lab → · Contrast checker → · Palette generator →

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