#8A2168#8A2168

#8A2168 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.158 H 344.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8A2168
RGBrgb(138, 33, 104)
HSLhsl(319, 61%, 34%)
HSVhsv(319, 76%, 54%)
CMYKcmyk(0%, 76.1%, 24.6%, 45.9%)
CIE-LABlab(32.90, 50.25, -16.22)
CIE-LCHlch(32.90, 52.80, 342.11°)
OKLaboklab(44.25% 0.1518 -0.0433)
OKLCHoklch(44.25% 0.158 344.1)
XYZxyz(13.5243, 7.4919, 13.8279)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2168 #218A43
analogous
#77218A #8A2168 #8A2133
triadic
#8A2168 #688A21 #21688A
tetradic
#8A2168 #8A7721 #218A43 #21338A
square
#8A2168 #8A7721 #218A43 #21338A
split-complementary
#8A2168 #338A21 #218A77
monochromatic
#27091E #591543 #8A2168 #BB2D8D #D550AA

Accessibility & contrast

On white

8.41
#8A2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2168
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2168#FFFFFF#000000##FFFFFF
##8A21681.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D426A
Deuteranopia (green-blind)
#4D5466
Tritanopia (blue-blind)
#932042
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2168;
/* rgb */ color: rgb(138, 33, 104);
/* oklch */ color: oklch(44.2% 0.158 344.1);
Tailwind
colors: {
  custom: {
    50: '#b06793',
    500: '#8a2168',
    950: '#000000',
  },
}
SCSS
$custom: #8a2168;
$custom-light: #b06793;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2168",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 319.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.15785,
    "h": 344.1
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#8A2168
secondary
#4EB971
accent
#E57743
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2168

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

Preview Lab → · Contrast checker → · Palette generator →

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