#8A437C#8A437C

#8A437C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.3% C 0.122 H 335.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8A437C
RGBrgb(138, 67, 124)
HSLhsl(312, 35%, 40%)
HSVhsv(312, 51%, 54%)
CMYKcmyk(0%, 51.4%, 10.1%, 45.9%)
CIE-LABlab(39.37, 38.15, -18.82)
CIE-LCHlch(39.37, 42.54, 333.74°)
OKLaboklab(49.29% 0.1104 -0.0509)
OKLCHoklch(49.29% 0.122 335.2)
XYZxyz(16.1265, 10.8739, 20.3144)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A437C #438A51
analogous
#74438A #8A437C #8A4358
triadic
#8A437C #7C8A43 #437C8A
tetradic
#8A437C #8A7443 #438A51 #43588A
square
#8A437C #8A7443 #438A51 #43588A
split-complementary
#8A437C #588A43 #438A74
monochromatic
#381B32 #612F57 #8A437C #AF5B9F #C384B7

Accessibility & contrast

On white

6.62
#8A437C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8A437C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A437C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A437C#FFFFFF#000000##FFFFFF
##8A437C1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567E
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#90465A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a437c;
/* rgb */ color: rgb(138, 67, 124);
/* oklch */ color: oklch(49.3% 0.122 335.2);
Tailwind
colors: {
  custom: {
    50: '#ae7aa2',
    500: '#8a437c',
    950: '#000000',
  },
}
SCSS
$custom: #8a437c;
$custom-light: #ae7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a437c",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 124
  },
  "hsl": {
    "h": 311.831,
    "s": 34.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.12158,
    "h": 335.2
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#8A437C
secondary
#7BAE85
accent
#CB735D
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090F
muted
#7F7B7E

Preview Lab

Preview with #8A437C

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

Preview Lab → · Contrast checker → · Palette generator →

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