#8A2163#8A2163

#8A2163 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.155 H 346.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8A2163
RGBrgb(138, 33, 99)
HSLhsl(322, 61%, 34%)
HSVhsv(322, 76%, 54%)
CMYKcmyk(0%, 76.1%, 28.3%, 45.9%)
CIE-LABlab(32.69, 49.58, -13.34)
CIE-LCHlch(32.69, 51.35, 344.94°)
OKLaboklab(44.02% 0.1507 -0.0353)
OKLCHoklch(44.02% 0.155 346.8)
XYZxyz(13.2778, 7.3933, 12.5298)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2163 #218A48
analogous
#7C218A #8A2163 #8A212E
triadic
#8A2163 #638A21 #21638A
tetradic
#8A2163 #8A7C21 #218A48 #212E8A
square
#8A2163 #8A7C21 #218A48 #212E8A
split-complementary
#8A2163 #2E8A21 #218A7C
monochromatic
#27091C #591540 #8A2163 #BB2D86 #D550A4

Accessibility & contrast

On white

8.47
#8A2163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A2163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2163
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2163#FFFFFF#000000##FFFFFF
##8A21631.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304165
Deuteranopia (green-blind)
#4F5361
Tritanopia (blue-blind)
#941E3F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2163;
/* rgb */ color: rgb(138, 33, 99);
/* oklch */ color: oklch(44.0% 0.155 346.8);
Tailwind
colors: {
  custom: {
    50: '#b0678f',
    500: '#8a2163',
    950: '#000000',
  },
}
SCSS
$custom: #8a2163;
$custom-light: #b0678f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2163",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 322.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.1548,
    "h": 346.8
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#8A2163
secondary
#4EB976
accent
#E57F43
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2163

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

Preview Lab → · Contrast checker → · Palette generator →

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