#8A467C#8A467C

#8A467C is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.7% C 0.116 H 335.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A467C
RGBrgb(138, 70, 124)
HSLhsl(312, 33%, 41%)
HSVhsv(312, 49%, 54%)
CMYKcmyk(0%, 49.3%, 10.1%, 45.9%)
CIE-LABlab(39.98, 36.55, -17.88)
CIE-LCHlch(39.98, 40.68, 333.93°)
OKLaboklab(49.75% 0.1058 -0.0483)
OKLCHoklch(49.75% 0.116 335.5)
XYZxyz(16.3095, 11.2399, 20.3754)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A467C #468A54
analogous
#76468A #8A467C #8A465A
triadic
#8A467C #7C8A46 #467C8A
tetradic
#8A467C #8A7646 #468A54 #465A8A
square
#8A467C #8A7646 #468A54 #465A8A
split-complementary
#8A467C #5A8A46 #468A76
monochromatic
#391D33 #613158 #8A467C #AE5F9E #C388B6

Accessibility & contrast

On white

6.47
#8A467C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A467C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A467C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A467C#FFFFFF#000000##FFFFFF
##8A467C1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587E
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#90495B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a467c;
/* rgb */ color: rgb(138, 70, 124);
/* oklch */ color: oklch(49.7% 0.116 335.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ca2',
    500: '#8a467c',
    950: '#000000',
  },
}
SCSS
$custom: #8a467c;
$custom-light: #ae7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a467c",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 124
  },
  "hsl": {
    "h": 312.353,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49745,
    "c": 0.11625,
    "h": 335.5
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#8A467C
secondary
#7EAE88
accent
#C9755F
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #8A467C

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

Preview Lab → · Contrast checker → · Palette generator →

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