#8A4060#8A4060

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

Color values

HEX#8A4060
RGBrgb(138, 64, 96)
HSLhsl(334, 37%, 40%)
HSVhsv(334, 54%, 54%)
CMYKcmyk(0%, 53.6%, 30.4%, 45.9%)
CIE-LABlab(37.69, 35.29, -3.90)
CIE-LCHlch(37.69, 35.50, 353.70°)
OKLaboklab(47.69% 0.107 -0.0098)
OKLCHoklch(47.69% 0.107 354.7)
XYZxyz(14.4265, 9.9159, 12.2182)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4060 #408A6A
analogous
#8A4085 #8A4060 #8A4540
triadic
#8A4060 #608A40 #40608A
tetradic
#8A4060 #858A40 #408A6A #45408A
square
#8A4060 #858A40 #408A6A #45408A
split-complementary
#8A4060 #408A45 #40858A
monochromatic
#361926 #602D43 #8A4060 #B1567D #C4809E

Accessibility & contrast

On white

7.04
#8A4060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A4060
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4060#FFFFFF#000000##FFFFFF
##8A40601.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4060;
/* rgb */ color: rgb(138, 64, 96);
/* oklch */ color: oklch(47.7% 0.107 354.7);
Tailwind
colors: {
  custom: {
    50: '#af788d',
    500: '#8a4060',
    950: '#000000',
  },
}
SCSS
$custom: #8a4060;
$custom-light: #af788d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4060",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 96
  },
  "hsl": {
    "h": 334.054,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47685,
    "c": 0.1074,
    "h": 354.7
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A4060

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

Preview Lab → · Contrast checker → · Palette generator →

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