#8A427E#8A427E

#8A427E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.2% C 0.125 H 334.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8A427E
RGBrgb(138, 66, 126)
HSLhsl(310, 35%, 40%)
HSVhsv(310, 52%, 54%)
CMYKcmyk(0%, 52.2%, 8.7%, 45.9%)
CIE-LABlab(39.25, 39.03, -20.23)
CIE-LCHlch(39.25, 43.96, 332.60°)
OKLaboklab(49.23% 0.1124 -0.0549)
OKLCHoklch(49.23% 0.125 334)
XYZxyz(16.1953, 10.8071, 20.9676)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A427E #428A4E
analogous
#72428A #8A427E #8A425A
triadic
#8A427E #7E8A42 #427E8A
tetradic
#8A427E #8A7242 #428A4E #425A8A
square
#8A427E #8A7242 #428A4E #425A8A
split-complementary
#8A427E #5A8A42 #428A72
monochromatic
#371A32 #612E58 #8A427E #B059A1 #C483B9

Accessibility & contrast

On white

6.64
#8A427E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A427E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A427E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A427E#FFFFFF#000000##FFFFFF
##8A427E1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#56607C
Tritanopia (blue-blind)
#90465A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a427e;
/* rgb */ color: rgb(138, 66, 126);
/* oklch */ color: oklch(49.2% 0.125 334.0);
Tailwind
colors: {
  custom: {
    50: '#ae79a3',
    500: '#8a427e',
    950: '#000000',
  },
}
SCSS
$custom: #8a427e;
$custom-light: #ae79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a427e",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 310,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.12508,
    "h": 334
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#8A427E
secondary
#79AE82
accent
#CB6F5C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A427E

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

Preview Lab → · Contrast checker → · Palette generator →

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