#8A2668#8A2668

#8A2668 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.152 H 344.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8A2668
RGBrgb(138, 38, 104)
HSLhsl(320, 57%, 35%)
HSVhsv(320, 72%, 54%)
CMYKcmyk(0%, 72.5%, 24.6%, 45.9%)
CIE-LABlab(33.54, 48.44, -15.23)
CIE-LCHlch(33.54, 50.78, 342.55°)
OKLaboklab(44.72% 0.1462 -0.0406)
OKLCHoklch(44.72% 0.152 344.5)
XYZxyz(13.6736, 7.7904, 13.8776)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2668 #268A48
analogous
#7A268A #8A2668 #8A2636
triadic
#8A2668 #688A26 #26688A
tetradic
#8A2668 #8A7A26 #268A48 #26368A
square
#8A2668 #8A7A26 #268A48 #26368A
split-complementary
#8A2668 #368A26 #268A7A
monochromatic
#2A0C20 #5A1944 #8A2668 #BA338C #D159A8

Accessibility & contrast

On white

8.21
#8A2668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2668
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2668#FFFFFF#000000##FFFFFF
##8A26681.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2668;
/* rgb */ color: rgb(138, 38, 104);
/* oklch */ color: oklch(44.7% 0.152 344.5);
Tailwind
colors: {
  custom: {
    50: '#b06993',
    500: '#8a2668',
    950: '#000000',
  },
}
SCSS
$custom: #8a2668;
$custom-light: #b06993;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2668",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 104
  },
  "hsl": {
    "h": 320.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44715,
    "c": 0.15176,
    "h": 344.5
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#8A2668
secondary
#56B676
accent
#E07C48
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2668

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

Preview Lab → · Contrast checker → · Palette generator →

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