#8A2C5F#8A2C5F

#8A2C5F is a dark, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.138 H 350.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8A2C5F
RGBrgb(138, 44, 95)
HSLhsl(327, 52%, 36%)
HSVhsv(327, 68%, 54%)
CMYKcmyk(0%, 68.1%, 31.2%, 45.9%)
CIE-LABlab(34.05, 44.81, -8.70)
CIE-LCHlch(34.05, 45.65, 349.01°)
OKLaboklab(44.97% 0.1365 -0.0226)
OKLCHoklch(44.97% 0.138 350.6)
XYZxyz(13.4481, 8.0323, 11.6664)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C5F #2C8A57
analogous
#862C8A #8A2C5F #8A2C30
triadic
#8A2C5F #5F8A2C #2C5F8A
tetradic
#8A2C5F #8A862C #2C8A57 #2C308A
square
#8A2C5F #8A862C #2C8A57 #2C308A
split-complementary
#8A2C5F #308A2C #2C8A86
monochromatic
#2D0E1F #5C1D3F #8A2C5F #B83B7F #CD639D

Accessibility & contrast

On white

8.06
#8A2C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C5F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C5F#FFFFFF#000000##FFFFFF
##8A2C5F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4560
Deuteranopia (green-blind)
#54565D
Tritanopia (blue-blind)
#942741
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2c5f;
/* rgb */ color: rgb(138, 44, 95);
/* oklch */ color: oklch(45.0% 0.138 350.6);
Tailwind
colors: {
  custom: {
    50: '#b06c8c',
    500: '#8a2c5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c5f;
$custom-light: #b06c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c5f",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 327.447,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44968,
    "c": 0.13832,
    "h": 350.6
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#8A2C5F
secondary
#5EB485
accent
#DB8E4D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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