#8A627B#8A627B

#8A627B is a mid, moderate pink. Relative luminance 0.156; OKLCH L 54.6% C 0.063 H 341.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A627B
RGBrgb(138, 98, 123)
HSLhsl(323, 17%, 46%)
HSVhsv(323, 29%, 54%)
CMYKcmyk(0%, 29%, 10.9%, 45.9%)
CIE-LABlab(46.40, 20.38, -7.54)
CIE-LCHlch(46.40, 21.73, 339.71°)
OKLaboklab(54.59% 0.0593 -0.0199)
OKLCHoklch(54.59% 0.063 341.4)
XYZxyz(18.4240, 15.5695, 20.7698)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A627B #628A71
analogous
#85628A #8A627B #8A6267
triadic
#8A627B #7B8A62 #627B8A
tetradic
#8A627B #8A8562 #628A71 #62678A
square
#8A627B #8A8562 #628A71 #62678A
split-complementary
#8A627B #678A62 #628A85
monochromatic
#422F3B #66495B #8A627B #A78399 #C0A6B6

Accessibility & contrast

On white

5.10
#8A627B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8A627B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A627B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A627B#FFFFFF#000000##FFFFFF
##8A627B1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646A7C
Deuteranopia (green-blind)
#6D707A
Tritanopia (blue-blind)
#8F626B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a627b;
/* rgb */ color: rgb(138, 98, 123);
/* oklch */ color: oklch(54.6% 0.063 341.4);
Tailwind
colors: {
  custom: {
    50: '#ac8fa1',
    500: '#8a627b',
    950: '#000000',
  },
}
SCSS
$custom: #8a627b;
$custom-light: #ac8fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a627b",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 123
  },
  "hsl": {
    "h": 322.5,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5459,
    "c": 0.06255,
    "h": 341.4
  },
  "luminance": 0.15569
}

Semantic roles & 50–950 ramp

primary
#8A627B
secondary
#99AFA1
accent
#BA8A6E
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8A627B

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

Preview Lab → · Contrast checker → · Palette generator →

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