#8A2165#8A2165

#8A2165 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.156 H 345.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A2165
RGBrgb(138, 33, 101)
HSLhsl(321, 61%, 34%)
HSVhsv(321, 76%, 54%)
CMYKcmyk(0%, 76.1%, 26.8%, 45.9%)
CIE-LABlab(32.77, 49.85, -14.49)
CIE-LCHlch(32.77, 51.91, 343.79°)
OKLaboklab(44.11% 0.1512 -0.0385)
OKLCHoklch(44.11% 0.156 345.7)
XYZxyz(13.3746, 7.4320, 13.0396)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2165 #218A46
analogous
#7A218A #8A2165 #8A2130
triadic
#8A2165 #658A21 #21658A
tetradic
#8A2165 #8A7A21 #218A46 #21308A
square
#8A2165 #8A7A21 #218A46 #21308A
split-complementary
#8A2165 #308A21 #218A7A
monochromatic
#27091D #591541 #8A2165 #BB2D89 #D550A6

Accessibility & contrast

On white

8.45
#8A2165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2165
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2165#FFFFFF#000000##FFFFFF
##8A21651.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4267
Deuteranopia (green-blind)
#4E5463
Tritanopia (blue-blind)
#941F40
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2165;
/* rgb */ color: rgb(138, 33, 101);
/* oklch */ color: oklch(44.1% 0.156 345.7);
Tailwind
colors: {
  custom: {
    50: '#b06791',
    500: '#8a2165',
    950: '#000000',
  },
}
SCSS
$custom: #8a2165;
$custom-light: #b06791;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2165",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 321.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4411,
    "c": 0.156,
    "h": 345.7
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#8A2165
secondary
#4EB974
accent
#E57C43
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2165

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

Preview Lab → · Contrast checker → · Palette generator →

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