#8A285B#8A285B

#8A285B is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.142 H 352.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8A285B
RGBrgb(138, 40, 91)
HSLhsl(329, 55%, 35%)
HSVhsv(329, 71%, 54%)
CMYKcmyk(0%, 71%, 34.1%, 45.9%)
CIE-LABlab(33.30, 45.95, -7.25)
CIE-LCHlch(33.30, 46.52, 351.04°)
OKLaboklab(44.37% 0.1405 -0.0186)
OKLCHoklch(44.37% 0.142 352.4)
XYZxyz(13.1291, 7.6777, 10.6860)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A285B #288A57
analogous
#88288A #8A285B #8A282A
triadic
#8A285B #5B8A28 #285B8A
tetradic
#8A285B #8A8828 #288A57 #282A8A
square
#8A285B #8A8828 #288A57 #282A8A
split-complementary
#8A285B #2A8A28 #288A88
monochromatic
#2B0C1C #5B1A3C #8A285B #B9367A #D05D99

Accessibility & contrast

On white

8.28
#8A285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A285B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A285B#FFFFFF#000000##FFFFFF
##8A285B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435C
Deuteranopia (green-blind)
#545559
Tritanopia (blue-blind)
#95213E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a285b;
/* rgb */ color: rgb(138, 40, 91);
/* oklch */ color: oklch(44.4% 0.142 352.4);
Tailwind
colors: {
  custom: {
    50: '#b06a89',
    500: '#8a285b',
    950: '#000000',
  },
}
SCSS
$custom: #8a285b;
$custom-light: #b06a89;
$custom-dark: #000000;
JSON
{
  "hex": "#8a285b",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 328.776,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44369,
    "c": 0.14169,
    "h": 352.4
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#8A285B
secondary
#59B585
accent
#DE9149
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A285B

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

Preview Lab → · Contrast checker → · Palette generator →

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