#8A2866#8A2866

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

Color values

HEX#8A2866
RGBrgb(138, 40, 102)
HSLhsl(322, 55%, 35%)
HSVhsv(322, 71%, 54%)
CMYKcmyk(0%, 71%, 26.1%, 45.9%)
CIE-LABlab(33.74, 47.39, -13.66)
CIE-LCHlch(33.74, 49.32, 343.92°)
OKLaboklab(44.83% 0.1434 -0.0362)
OKLCHoklch(44.83% 0.148 345.8)
XYZxyz(13.6388, 7.8816, 13.3708)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2866 #288A4C
analogous
#7D288A #8A2866 #8A2835
triadic
#8A2866 #668A28 #28668A
tetradic
#8A2866 #8A7D28 #288A4C #28358A
square
#8A2866 #8A7D28 #288A4C #28358A
split-complementary
#8A2866 #358A28 #288A7D
monochromatic
#2B0C20 #5B1A43 #8A2866 #B93689 #D05DA6

Accessibility & contrast

On white

8.15
#8A2866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A2866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2866
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2866#FFFFFF#000000##FFFFFF
##8A28661.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344568
Deuteranopia (green-blind)
#515564
Tritanopia (blue-blind)
#932643
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2866;
/* rgb */ color: rgb(138, 40, 102);
/* oklch */ color: oklch(44.8% 0.148 345.8);
Tailwind
colors: {
  custom: {
    50: '#b06a91',
    500: '#8a2866',
    950: '#000000',
  },
}
SCSS
$custom: #8a2866;
$custom-light: #b06a91;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2866",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 322.041,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44828,
    "c": 0.1479,
    "h": 345.8
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#8A2866
secondary
#59B57B
accent
#DE8049
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2866

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

Preview Lab → · Contrast checker → · Palette generator →

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