#8A2748#8A2748

#8A2748 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.136 H 4.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8A2748
RGBrgb(138, 39, 72)
HSLhsl(340, 56%, 35%)
HSVhsv(340, 72%, 54%)
CMYKcmyk(0%, 71.7%, 47.8%, 45.9%)
CIE-LABlab(32.53, 44.24, 3.97)
CIE-LCHlch(32.53, 44.42, 5.13°)
OKLaboklab(43.6% 0.1352 0.0106)
OKLCHoklch(43.6% 0.136 4.5)
XYZxyz(12.3774, 7.3238, 6.8915)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2748 #278A69
analogous
#8A277A #8A2748 #8A3827
triadic
#8A2748 #488A27 #27488A
tetradic
#8A2748 #7A8A27 #278A69 #38278A
square
#8A2748 #7A8A27 #278A69 #38278A
split-complementary
#8A2748 #278A38 #277A8A
monochromatic
#2B0C16 #5A1A2F #8A2748 #BA3461 #D15B82

Accessibility & contrast

On white

8.52
#8A2748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A2748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2748
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2748#FFFFFF#000000##FFFFFF
##8A27481.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4049
Deuteranopia (green-blind)
#575446
Tritanopia (blue-blind)
#961734
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2748;
/* rgb */ color: rgb(138, 39, 72);
/* oklch */ color: oklch(43.6% 0.136 4.5);
Tailwind
colors: {
  custom: {
    50: '#b1697a',
    500: '#8a2748',
    950: '#000000',
  },
}
SCSS
$custom: #8a2748;
$custom-light: #b1697a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2748",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 340,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.13561,
    "h": 4.5
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#8A2748
secondary
#57B696
accent
#DFAD49
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2748

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

Preview Lab → · Contrast checker → · Palette generator →

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