#8A2167#8A2167

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

Color values

HEX#8A2167
RGBrgb(138, 33, 103)
HSLhsl(320, 61%, 34%)
HSVhsv(320, 76%, 54%)
CMYKcmyk(0%, 76.1%, 25.4%, 45.9%)
CIE-LABlab(32.86, 50.12, -15.64)
CIE-LCHlch(32.86, 52.50, 342.66°)
OKLaboklab(44.2% 0.1516 -0.0417)
OKLCHoklch(44.2% 0.157 344.6)
XYZxyz(13.4738, 7.4717, 13.5619)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2167 #218A44
analogous
#78218A #8A2167 #8A2132
triadic
#8A2167 #678A21 #21678A
tetradic
#8A2167 #8A7821 #218A44 #21328A
square
#8A2167 #8A7821 #218A44 #21328A
split-complementary
#8A2167 #328A21 #218A78
monochromatic
#27091D #591542 #8A2167 #BB2D8C #D550A9

Accessibility & contrast

On white

8.42
#8A2167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A2167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2167
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2167#FFFFFF#000000##FFFFFF
##8A21671.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4269
Deuteranopia (green-blind)
#4E5465
Tritanopia (blue-blind)
#932041
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2167;
/* rgb */ color: rgb(138, 33, 103);
/* oklch */ color: oklch(44.2% 0.157 344.6);
Tailwind
colors: {
  custom: {
    50: '#b06792',
    500: '#8a2167',
    950: '#000000',
  },
}
SCSS
$custom: #8a2167;
$custom-light: #b06792;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2167",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 320,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.15723,
    "h": 344.6
  },
  "luminance": 0.0747
}

Semantic roles & 50–950 ramp

primary
#8A2167
secondary
#4EB972
accent
#E57943
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2167

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

Preview Lab → · Contrast checker → · Palette generator →

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