#8A2766#8A2766

#8A2766 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.149 H 345.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A2766
RGBrgb(138, 39, 102)
HSLhsl(322, 56%, 35%)
HSVhsv(322, 72%, 54%)
CMYKcmyk(0%, 71.7%, 26.1%, 45.9%)
CIE-LABlab(33.59, 47.79, -13.87)
CIE-LCHlch(33.59, 49.76, 343.81°)
OKLaboklab(44.73% 0.1446 -0.0368)
OKLCHoklch(44.73% 0.149 345.7)
XYZxyz(13.6056, 7.8150, 13.3597)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2766 #278A4B
analogous
#7C278A #8A2766 #8A2735
triadic
#8A2766 #668A27 #27668A
tetradic
#8A2766 #8A7C27 #278A4B #27358A
square
#8A2766 #8A7C27 #278A4B #27358A
split-complementary
#8A2766 #358A27 #278A7C
monochromatic
#2B0C1F #5A1A43 #8A2766 #BA3489 #D15BA6

Accessibility & contrast

On white

8.19
#8A2766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2766
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2766#FFFFFF#000000##FFFFFF
##8A27661.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334468
Deuteranopia (green-blind)
#505564
Tritanopia (blue-blind)
#932543
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2766;
/* rgb */ color: rgb(138, 39, 102);
/* oklch */ color: oklch(44.7% 0.149 345.7);
Tailwind
colors: {
  custom: {
    50: '#b06a91',
    500: '#8a2766',
    950: '#000000',
  },
}
SCSS
$custom: #8a2766;
$custom-light: #b06a91;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2766",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 321.818,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44725,
    "c": 0.14922,
    "h": 345.7
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#8A2766
secondary
#57B67A
accent
#DF7F49
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2766

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

Preview Lab → · Contrast checker → · Palette generator →

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