#8A405C#8A405C

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

Color values

HEX#8A405C
RGBrgb(138, 64, 92)
HSLhsl(337, 37%, 40%)
HSVhsv(337, 54%, 54%)
CMYKcmyk(0%, 53.6%, 33.3%, 45.9%)
CIE-LABlab(37.56, 34.74, -1.57)
CIE-LCHlch(37.56, 34.77, 357.42°)
OKLaboklab(47.55% 0.1055 -0.0037)
OKLCHoklch(47.55% 0.106 358)
XYZxyz(14.2470, 9.8441, 11.2729)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A405C #408A6E
analogous
#8A4081 #8A405C #8A4940
triadic
#8A405C #5C8A40 #405C8A
tetradic
#8A405C #818A40 #408A6E #49408A
square
#8A405C #818A40 #408A6E #49408A
split-complementary
#8A405C #408A49 #40818A
monochromatic
#361924 #602D40 #8A405C #B15679 #C4809A

Accessibility & contrast

On white

7.07
#8A405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A405C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A405C#FFFFFF#000000##FFFFFF
##8A405C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a405c;
/* rgb */ color: rgb(138, 64, 92);
/* oklch */ color: oklch(47.5% 0.106 358.0);
Tailwind
colors: {
  custom: {
    50: '#af778a',
    500: '#8a405c',
    950: '#000000',
  },
}
SCSS
$custom: #8a405c;
$custom-light: #af778a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a405c",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 337.297,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47545,
    "c": 0.10557,
    "h": 358
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A405C

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

Preview Lab → · Contrast checker → · Palette generator →

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