#8A467E#8A467E

#8A467E is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.8% C 0.118 H 334.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A467E
RGBrgb(138, 70, 126)
HSLhsl(311, 33%, 41%)
HSVhsv(311, 49%, 54%)
CMYKcmyk(0%, 49.3%, 8.7%, 45.9%)
CIE-LABlab(40.07, 36.90, -18.98)
CIE-LCHlch(40.07, 41.50, 332.79°)
OKLaboklab(49.84% 0.1062 -0.0514)
OKLCHoklch(49.84% 0.118 334.2)
XYZxyz(16.4373, 11.2910, 21.0482)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A467E #468A52
analogous
#74468A #8A467E #8A465C
triadic
#8A467E #7E8A46 #467E8A
tetradic
#8A467E #8A7446 #468A52 #465C8A
square
#8A467E #8A7446 #468A52 #465C8A
split-complementary
#8A467E #5C8A46 #468A74
monochromatic
#391D34 #613159 #8A467E #AE5FA0 #C388B8

Accessibility & contrast

On white

6.45
#8A467E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A467E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A467E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A467E#FFFFFF#000000##FFFFFF
##8A467E1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#904A5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a467e;
/* rgb */ color: rgb(138, 70, 126);
/* oklch */ color: oklch(49.8% 0.118 334.2);
Tailwind
colors: {
  custom: {
    50: '#ae7ca3',
    500: '#8a467e',
    950: '#000000',
  },
}
SCSS
$custom: #8a467e;
$custom-light: #ae7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a467e",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 310.588,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.118,
    "h": 334.2
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#8A467E
secondary
#7EAE86
accent
#C9725F
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A467E

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

Preview Lab → · Contrast checker → · Palette generator →

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