#8A427A#8A427A

#8A427A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.0% C 0.122 H 336.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A427A
RGBrgb(138, 66, 122)
HSLhsl(313, 35%, 40%)
HSVhsv(313, 52%, 54%)
CMYKcmyk(0%, 52.2%, 11.6%, 45.9%)
CIE-LABlab(39.08, 38.33, -18.03)
CIE-LCHlch(39.08, 42.36, 334.81°)
OKLaboklab(49.05% 0.1115 -0.0487)
OKLCHoklch(49.05% 0.122 336.4)
XYZxyz(15.9424, 10.7059, 19.6353)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A427A #428A52
analogous
#76428A #8A427A #8A4256
triadic
#8A427A #7A8A42 #427A8A
tetradic
#8A427A #8A7642 #428A52 #42568A
square
#8A427A #8A7642 #428A52 #42568A
split-complementary
#8A427A #568A42 #428A76
monochromatic
#371A31 #612E55 #8A427A #B0599D #C483B5

Accessibility & contrast

On white

6.69
#8A427A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A427A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A427A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A427A#FFFFFF#000000##FFFFFF
##8A427A1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557C
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#904558
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a427a;
/* rgb */ color: rgb(138, 66, 122);
/* oklch */ color: oklch(49.0% 0.122 336.4);
Tailwind
colors: {
  custom: {
    50: '#ae79a0',
    500: '#8a427a',
    950: '#000000',
  },
}
SCSS
$custom: #8a427a;
$custom-light: #ae79a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a427a",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 313.333,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.12164,
    "h": 336.4
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#8A427A
secondary
#79AE85
accent
#CB755C
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A427A

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

Preview Lab → · Contrast checker → · Palette generator →

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