#8A6281#8A6281

#8A6281 is a mid, moderate pink. Relative luminance 0.157; OKLCH L 54.8% C 0.068 H 334.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A6281
RGBrgb(138, 98, 129)
HSLhsl(314, 17%, 46%)
HSVhsv(314, 29%, 54%)
CMYKcmyk(0%, 29%, 6.5%, 45.9%)
CIE-LABlab(46.61, 21.51, -10.83)
CIE-LCHlch(46.61, 24.08, 333.27°)
OKLaboklab(54.82% 0.0614 -0.0289)
OKLCHoklch(54.82% 0.068 334.8)
XYZxyz(18.8111, 15.7243, 22.8088)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6281 #628A6B
analogous
#7F628A #8A6281 #8A626D
triadic
#8A6281 #818A62 #62818A
tetradic
#8A6281 #8A7F62 #628A6B #626D8A
square
#8A6281 #8A7F62 #628A6B #626D8A
split-complementary
#8A6281 #6D8A62 #628A7F
monochromatic
#422F3E #664960 #8A6281 #A7839F #C0A6BA

Accessibility & contrast

On white

5.07
#8A6281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8A6281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6281
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6281#FFFFFF#000000##FFFFFF
##8A62811.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626B82
Deuteranopia (green-blind)
#6B7180
Tritanopia (blue-blind)
#8E646D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a6281;
/* rgb */ color: rgb(138, 98, 129);
/* oklch */ color: oklch(54.8% 0.068 334.8);
Tailwind
colors: {
  custom: {
    50: '#ac8fa5',
    500: '#8a6281',
    950: '#000000',
  },
}
SCSS
$custom: #8a6281;
$custom-light: #ac8fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6281",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 129
  },
  "hsl": {
    "h": 313.5,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.06787,
    "h": 334.8
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#8A6281
secondary
#99AF9E
accent
#BA7F6E
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A6281

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

Preview Lab → · Contrast checker → · Palette generator →

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