#8A2858#8A2858

#8A2858 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.140 H 354.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A2858
RGBrgb(138, 40, 88)
HSLhsl(331, 55%, 35%)
HSVhsv(331, 71%, 54%)
CMYKcmyk(0%, 71%, 36.2%, 45.9%)
CIE-LABlab(33.19, 45.59, -5.47)
CIE-LCHlch(33.19, 45.92, 353.15°)
OKLaboklab(44.25% 0.1395 -0.0139)
OKLCHoklch(44.25% 0.14 354.3)
XYZxyz(13.0022, 7.6269, 10.0181)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2858 #288A5A
analogous
#8A2889 #8A2858 #8A2928
triadic
#8A2858 #588A28 #28588A
tetradic
#8A2858 #898A28 #288A5A #29288A
square
#8A2858 #898A28 #288A5A #29288A
split-complementary
#8A2858 #288A29 #28898A
monochromatic
#2B0C1B #5B1A3A #8A2858 #B93676 #D05D95

Accessibility & contrast

On white

8.32
#8A2858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A2858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2858
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2858#FFFFFF#000000##FFFFFF
##8A28581.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394359
Deuteranopia (green-blind)
#545556
Tritanopia (blue-blind)
#95203C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2858;
/* rgb */ color: rgb(138, 40, 88);
/* oklch */ color: oklch(44.3% 0.140 354.3);
Tailwind
colors: {
  custom: {
    50: '#b06a87',
    500: '#8a2858',
    950: '#000000',
  },
}
SCSS
$custom: #8a2858;
$custom-light: #b06a87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2858",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 330.612,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44253,
    "c": 0.14023,
    "h": 354.3
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#8A2858
secondary
#59B588
accent
#DE9549
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2858

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

Preview Lab → · Contrast checker → · Palette generator →

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