#8A457C#8A457C

#8A457C is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.6% C 0.118 H 335.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A457C
RGBrgb(138, 69, 124)
HSLhsl(312, 33%, 41%)
HSVhsv(312, 50%, 54%)
CMYKcmyk(0%, 50%, 10.1%, 45.9%)
CIE-LABlab(39.77, 37.08, -18.19)
CIE-LCHlch(39.77, 41.31, 333.87°)
OKLaboklab(49.59% 0.1073 -0.0492)
OKLCHoklch(49.59% 0.118 335.4)
XYZxyz(16.2475, 11.1158, 20.3547)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A457C #458A53
analogous
#75458A #8A457C #8A4559
triadic
#8A457C #7C8A45 #457C8A
tetradic
#8A457C #8A7545 #458A53 #45598A
square
#8A457C #8A7545 #458A53 #45598A
split-complementary
#8A457C #598A45 #458A75
monochromatic
#381C33 #613157 #8A457C #AE5E9E #C387B7

Accessibility & contrast

On white

6.52
#8A457C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A457C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A457C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A457C#FFFFFF#000000##FFFFFF
##8A457C1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#90485B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a457c;
/* rgb */ color: rgb(138, 69, 124);
/* oklch */ color: oklch(49.6% 0.118 335.4);
Tailwind
colors: {
  custom: {
    50: '#ae7ba2',
    500: '#8a457c',
    950: '#000000',
  },
}
SCSS
$custom: #8a457c;
$custom-light: #ae7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a457c",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 312.174,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4959,
    "c": 0.11803,
    "h": 335.4
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#8A457C
secondary
#7DAE87
accent
#C9745E
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090F
muted
#7F7B7E

Preview Lab

Preview with #8A457C

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

Preview Lab → · Contrast checker → · Palette generator →

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