#8A276B#8A276B

#8A276B is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.152 H 342.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8A276B
RGBrgb(138, 39, 107)
HSLhsl(319, 56%, 35%)
HSVhsv(319, 72%, 54%)
CMYKcmyk(0%, 71.7%, 22.5%, 45.9%)
CIE-LABlab(33.81, 48.48, -16.73)
CIE-LCHlch(33.81, 51.29, 340.96°)
OKLaboklab(44.95% 0.1457 -0.0448)
OKLCHoklch(44.95% 0.152 342.9)
XYZxyz(13.8611, 7.9172, 14.7053)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A276B #278A46
analogous
#78278A #8A276B #8A273A
triadic
#8A276B #6B8A27 #276B8A
tetradic
#8A276B #8A7827 #278A46 #273A8A
square
#8A276B #8A7827 #278A46 #273A8A
split-complementary
#8A276B #3A8A27 #278A78
monochromatic
#2B0C21 #5A1A46 #8A276B #BA3490 #D15BAC

Accessibility & contrast

On white

8.13
#8A276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A276B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A276B#FFFFFF#000000##FFFFFF
##8A276B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#4F5569
Tritanopia (blue-blind)
#932745
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a276b;
/* rgb */ color: rgb(138, 39, 107);
/* oklch */ color: oklch(45.0% 0.152 342.9);
Tailwind
colors: {
  custom: {
    50: '#b06a95',
    500: '#8a276b',
    950: '#000000',
  },
}
SCSS
$custom: #8a276b;
$custom-light: #b06a95;
$custom-dark: #000000;
JSON
{
  "hex": "#8a276b",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 318.788,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.15241,
    "h": 342.9
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#8A276B
secondary
#57B675
accent
#DF7849
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A276B

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

Preview Lab → · Contrast checker → · Palette generator →

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