#8A2C51#8A2C51

#8A2C51 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.4% C 0.132 H 359.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8A2C51
RGBrgb(138, 44, 81)
HSLhsl(336, 52%, 36%)
HSVhsv(336, 68%, 54%)
CMYKcmyk(0%, 68.1%, 41.3%, 45.9%)
CIE-LABlab(33.56, 43.11, -0.39)
CIE-LCHlch(33.56, 43.11, 359.48°)
OKLaboklab(44.45% 0.1319 -0.0005)
OKLCHoklch(44.45% 0.132 359.8)
XYZxyz(12.8680, 7.8002, 8.6109)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C51 #2C8A65
analogous
#8A2C80 #8A2C51 #8A362C
triadic
#8A2C51 #518A2C #2C518A
tetradic
#8A2C51 #808A2C #2C8A65 #362C8A
square
#8A2C51 #808A2C #2C8A65 #362C8A
split-complementary
#8A2C51 #2C8A36 #2C808A
monochromatic
#2D0E1B #5C1D36 #8A2C51 #B83B6C #CD638D

Accessibility & contrast

On white

8.20
#8A2C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C51
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C51#FFFFFF#000000##FFFFFF
##8A2C511.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4452
Deuteranopia (green-blind)
#57564F
Tritanopia (blue-blind)
#95223B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2c51;
/* rgb */ color: rgb(138, 44, 81);
/* oklch */ color: oklch(44.4% 0.132 359.8);
Tailwind
colors: {
  custom: {
    50: '#b06c81',
    500: '#8a2c51',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c51;
$custom-light: #b06c81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c51",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 81
  },
  "hsl": {
    "h": 336.383,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44449,
    "c": 0.13191,
    "h": 359.8
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#8A2C51
secondary
#5EB492
accent
#DBA34D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2C51

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

Preview Lab → · Contrast checker → · Palette generator →

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