#8A2768#8A2768

#8A2768 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.150 H 344.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8A2768
RGBrgb(138, 39, 104)
HSLhsl(321, 56%, 35%)
HSVhsv(321, 72%, 54%)
CMYKcmyk(0%, 71.7%, 24.6%, 45.9%)
CIE-LABlab(33.68, 48.06, -15.02)
CIE-LCHlch(33.68, 50.35, 342.64°)
OKLaboklab(44.82% 0.1451 -0.04)
OKLCHoklch(44.82% 0.15 344.6)
XYZxyz(13.7060, 7.8552, 13.8884)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2768 #278A49
analogous
#7B278A #8A2768 #8A2737
triadic
#8A2768 #688A27 #27688A
tetradic
#8A2768 #8A7B27 #278A49 #27378A
square
#8A2768 #8A7B27 #278A49 #27378A
split-complementary
#8A2768 #378A27 #278A7B
monochromatic
#2B0C20 #5A1A44 #8A2768 #BA348C #D15BA8

Accessibility & contrast

On white

8.17
#8A2768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2768
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2768#FFFFFF#000000##FFFFFF
##8A27681.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32456A
Deuteranopia (green-blind)
#505566
Tritanopia (blue-blind)
#932644
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2768;
/* rgb */ color: rgb(138, 39, 104);
/* oklch */ color: oklch(44.8% 0.150 344.6);
Tailwind
colors: {
  custom: {
    50: '#b06a93',
    500: '#8a2768',
    950: '#000000',
  },
}
SCSS
$custom: #8a2768;
$custom-light: #b06a93;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2768",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 320.606,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44815,
    "c": 0.15047,
    "h": 344.6
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#8A2768
secondary
#57B678
accent
#DF7C49
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2768

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

Preview Lab → · Contrast checker → · Palette generator →

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