#8A5062#8A5062

#8A5062 is a mid, moderate pink. Relative luminance 0.120; OKLCH L 50.4% C 0.081 H 0.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A5062
RGBrgb(138, 80, 98)
HSLhsl(341, 27%, 43%)
HSVhsv(341, 42%, 54%)
CMYKcmyk(0%, 42%, 29%, 45.9%)
CIE-LABlab(41.25, 26.71, 0.09)
CIE-LCHlch(41.25, 26.71, 0.20°)
OKLaboklab(50.4% 0.0808 0.0006)
OKLCHoklch(50.4% 0.081 0.4)
XYZxyz(15.5550, 12.0236, 13.0544)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5062 #508A78
analogous
#8A507F #8A5062 #8A5B50
triadic
#8A5062 #628A50 #50628A
tetradic
#8A5062 #7F8A50 #508A78 #5B508A
square
#8A5062 #7F8A50 #508A78 #5B508A
split-complementary
#8A5062 #508A5B #507F8A
monochromatic
#3D232B #633A46 #8A5062 #AA6D80 #C194A2

Accessibility & contrast

On white

6.17
#8A5062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A5062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5062
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5062#FFFFFF#000000##FFFFFF
##8A50621.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585B63
Deuteranopia (green-blind)
#676561
Tritanopia (blue-blind)
#934C56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a5062;
/* rgb */ color: rgb(138, 80, 98);
/* oklch */ color: oklch(50.4% 0.081 0.4);
Tailwind
colors: {
  custom: {
    50: '#ae828e',
    500: '#8a5062',
    950: '#000000',
  },
}
SCSS
$custom: #8a5062;
$custom-light: #ae828e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5062",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 98
  },
  "hsl": {
    "h": 341.379,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.08076,
    "h": 0.4
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#8A5062
secondary
#88AEA2
accent
#C3A665
background
#FAF8F8
surface
#F5EFF0
border
#CFCACB
text
#100A0C
muted
#7F7C7D

Preview Lab

Preview with #8A5062

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

Preview Lab → · Contrast checker → · Palette generator →

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