#8A457E#8A457E

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

Color values

HEX#8A457E
RGBrgb(138, 69, 126)
HSLhsl(310, 33%, 41%)
HSVhsv(310, 50%, 54%)
CMYKcmyk(0%, 50%, 8.7%, 45.9%)
CIE-LABlab(39.86, 37.44, -19.29)
CIE-LCHlch(39.86, 42.12, 332.74°)
OKLaboklab(49.68% 0.1078 -0.0523)
OKLCHoklch(49.68% 0.12 334.1)
XYZxyz(16.3752, 11.1669, 21.0275)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A457E #458A51
analogous
#73458A #8A457E #8A455B
triadic
#8A457E #7E8A45 #457E8A
tetradic
#8A457E #8A7345 #458A51 #455B8A
square
#8A457E #8A7345 #458A51 #455B8A
split-complementary
#8A457E #5B8A45 #458A73
monochromatic
#381C33 #613159 #8A457E #AE5EA0 #C387B8

Accessibility & contrast

On white

6.50
#8A457E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A457E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A457E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A457E#FFFFFF#000000##FFFFFF
##8A457E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445880
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#90495B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a457e;
/* rgb */ color: rgb(138, 69, 126);
/* oklch */ color: oklch(49.7% 0.120 334.1);
Tailwind
colors: {
  custom: {
    50: '#ae7ba3',
    500: '#8a457e',
    950: '#000000',
  },
}
SCSS
$custom: #8a457e;
$custom-light: #ae7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a457e",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 310.435,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.11979,
    "h": 334.1
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#8A457E
secondary
#7DAE85
accent
#C9715E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A457E

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

Preview Lab → · Contrast checker → · Palette generator →

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