#8A2758#8A2758

#8A2758 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.1% C 0.142 H 354.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A2758
RGBrgb(138, 39, 88)
HSLhsl(330, 56%, 35%)
HSVhsv(330, 72%, 54%)
CMYKcmyk(0%, 71.7%, 36.2%, 45.9%)
CIE-LABlab(33.05, 45.99, -5.69)
CIE-LCHlch(33.05, 46.34, 352.95°)
OKLaboklab(44.15% 0.1408 -0.0144)
OKLCHoklch(44.15% 0.142 354.1)
XYZxyz(12.9690, 7.5604, 10.0070)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2758 #278A59
analogous
#8A278A #8A2758 #8A2827
triadic
#8A2758 #588A27 #27588A
tetradic
#8A2758 #8A8A27 #278A59 #28278A
square
#8A2758 #8A8A27 #278A59 #28278A
split-complementary
#8A2758 #278A28 #278A8A
monochromatic
#2B0C1B #5A1A3A #8A2758 #BA3476 #D15B95

Accessibility & contrast

On white

8.36
#8A2758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A2758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2758
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2758#FFFFFF#000000##FFFFFF
##8A27581.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384259
Deuteranopia (green-blind)
#545456
Tritanopia (blue-blind)
#951F3C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2758;
/* rgb */ color: rgb(138, 39, 88);
/* oklch */ color: oklch(44.1% 0.142 354.1);
Tailwind
colors: {
  custom: {
    50: '#b06987',
    500: '#8a2758',
    950: '#000000',
  },
}
SCSS
$custom: #8a2758;
$custom-light: #b06987;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2758",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 330.303,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44147,
    "c": 0.14153,
    "h": 354.1
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#8A2758
secondary
#57B687
accent
#DF9549
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2758

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

Preview Lab → · Contrast checker → · Palette generator →

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