#8A2154#8A2154

#8A2154 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.147 H 355.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8A2154
RGBrgb(138, 33, 84)
HSLhsl(331, 61%, 34%)
HSVhsv(331, 76%, 54%)
CMYKcmyk(0%, 76.1%, 39.1%, 45.9%)
CIE-LABlab(32.11, 47.76, -4.49)
CIE-LCHlch(32.11, 47.98, 354.63°)
OKLaboklab(43.41% 0.1466 -0.0112)
OKLCHoklch(43.41% 0.147 355.6)
XYZxyz(12.6262, 7.1326, 9.0976)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2154 #218A57
analogous
#8A2188 #8A2154 #8A2221
triadic
#8A2154 #548A21 #21548A
tetradic
#8A2154 #888A21 #218A57 #22218A
square
#8A2154 #888A21 #218A57 #22218A
split-complementary
#8A2154 #218A22 #21888A
monochromatic
#270918 #591536 #8A2154 #BB2D72 #D55091

Accessibility & contrast

On white

8.66
#8A2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2154
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2154#FFFFFF#000000##FFFFFF
##8A21541.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F55
Deuteranopia (green-blind)
#535352
Tritanopia (blue-blind)
#951537
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2154;
/* rgb */ color: rgb(138, 33, 84);
/* oklch */ color: oklch(43.4% 0.147 355.6);
Tailwind
colors: {
  custom: {
    50: '#b16784',
    500: '#8a2154',
    950: '#000000',
  },
}
SCSS
$custom: #8a2154;
$custom-light: #b16784;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2154",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 330.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43408,
    "c": 0.14706,
    "h": 355.6
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#8A2154
secondary
#4EB985
accent
#E59643
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A2154

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

Preview Lab → · Contrast checker → · Palette generator →

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