#8A627E#8A627E

#8A627E is a mid, moderate pink. Relative luminance 0.156; OKLCH L 54.7% C 0.065 H 338.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A627E
RGBrgb(138, 98, 126)
HSLhsl(318, 17%, 46%)
HSVhsv(318, 29%, 54%)
CMYKcmyk(0%, 29%, 8.7%, 45.9%)
CIE-LABlab(46.51, 20.94, -9.19)
CIE-LCHlch(46.51, 22.87, 336.31°)
OKLaboklab(54.7% 0.0604 -0.0244)
OKLCHoklch(54.7% 0.065 338)
XYZxyz(18.6146, 15.6457, 21.7740)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A627E #628A6E
analogous
#82628A #8A627E #8A626A
triadic
#8A627E #7E8A62 #627E8A
tetradic
#8A627E #8A8262 #628A6E #626A8A
square
#8A627E #8A8262 #628A6E #626A8A
split-complementary
#8A627E #6A8A62 #628A82
monochromatic
#422F3D #66495D #8A627E #A7839C #C0A6B8

Accessibility & contrast

On white

5.09
#8A627E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8A627E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A627E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A627E#FFFFFF#000000##FFFFFF
##8A627E1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B7F
Deuteranopia (green-blind)
#6C707D
Tritanopia (blue-blind)
#8E636C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a627e;
/* rgb */ color: rgb(138, 98, 126);
/* oklch */ color: oklch(54.7% 0.065 338.0);
Tailwind
colors: {
  custom: {
    50: '#ac8fa3',
    500: '#8a627e',
    950: '#000000',
  },
}
SCSS
$custom: #8a627e;
$custom-light: #ac8fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a627e",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 126
  },
  "hsl": {
    "h": 318,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.06511,
    "h": 338
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#8A627E
secondary
#99AFA0
accent
#BA856E
background
#FAF8FA
surface
#F4F0F3
border
#CECBCD
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A627E

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

Preview Lab → · Contrast checker → · Palette generator →

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