#8A2B5E#8A2B5E

#8A2B5E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.139 H 351.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8A2B5E
RGBrgb(138, 43, 94)
HSLhsl(328, 52%, 35%)
HSVhsv(328, 69%, 54%)
CMYKcmyk(0%, 68.8%, 31.9%, 45.9%)
CIE-LABlab(33.86, 45.10, -8.35)
CIE-LCHlch(33.86, 45.87, 349.52°)
OKLaboklab(44.82% 0.1375 -0.0216)
OKLCHoklch(44.82% 0.139 351.1)
XYZxyz(13.3662, 7.9406, 11.4163)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B5E #2B8A57
analogous
#862B8A #8A2B5E #8A2B2F
triadic
#8A2B5E #5E8A2B #2B5E8A
tetradic
#8A2B5E #8A862B #2B8A57 #2B2F8A
square
#8A2B5E #8A862B #2B8A57 #2B2F8A
split-complementary
#8A2B5E #2F8A2B #2B8A86
monochromatic
#2D0E1E #5B1C3E #8A2B5E #B93A7E #CE619C

Accessibility & contrast

On white

8.12
#8A2B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A2B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B5E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B5E#FFFFFF#000000##FFFFFF
##8A2B5E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39455F
Deuteranopia (green-blind)
#54565C
Tritanopia (blue-blind)
#942640
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2b5e;
/* rgb */ color: rgb(138, 43, 94);
/* oklch */ color: oklch(44.8% 0.139 351.1);
Tailwind
colors: {
  custom: {
    50: '#b06c8b',
    500: '#8a2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b5e;
$custom-light: #b06c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b5e",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 327.789,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44815,
    "c": 0.13918,
    "h": 351.1
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#8A2B5E
secondary
#5DB485
accent
#DC8F4C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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