#8A2568#8A2568

#8A2568 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.153 H 344.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8A2568
RGBrgb(138, 37, 104)
HSLhsl(320, 58%, 34%)
HSVhsv(320, 73%, 54%)
CMYKcmyk(0%, 73.2%, 24.6%, 45.9%)
CIE-LABlab(33.41, 48.82, -15.44)
CIE-LCHlch(33.41, 51.20, 342.45°)
OKLaboklab(44.62% 0.1474 -0.0411)
OKLCHoklch(44.62% 0.153 344.4)
XYZxyz(13.6420, 7.7273, 13.8671)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2568 #258A47
analogous
#7A258A #8A2568 #8A2536
triadic
#8A2568 #688A25 #25688A
tetradic
#8A2568 #8A7A25 #258A47 #25368A
square
#8A2568 #8A7A25 #258A47 #25368A
split-complementary
#8A2568 #368A25 #258A7A
monochromatic
#290B1F #5A1844 #8A2568 #BA328C #D257A9

Accessibility & contrast

On white

8.25
#8A2568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A2568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2568
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2568#FFFFFF#000000##FFFFFF
##8A25681.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446A
Deuteranopia (green-blind)
#4F5566
Tritanopia (blue-blind)
#932443
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2568;
/* rgb */ color: rgb(138, 37, 104);
/* oklch */ color: oklch(44.6% 0.153 344.4);
Tailwind
colors: {
  custom: {
    50: '#b06993',
    500: '#8a2568',
    950: '#000000',
  },
}
SCSS
$custom: #8a2568;
$custom-light: #b06993;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2568",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 104
  },
  "hsl": {
    "h": 320.198,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44617,
    "c": 0.15303,
    "h": 344.4
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#8A2568
secondary
#54B775
accent
#E17B47
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2568

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

Preview Lab → · Contrast checker → · Palette generator →

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