#8A276A#8A276A

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

Color values

HEX#8A276A
RGBrgb(138, 39, 106)
HSLhsl(319, 56%, 35%)
HSVhsv(319, 72%, 54%)
CMYKcmyk(0%, 71.7%, 23.2%, 45.9%)
CIE-LABlab(33.77, 48.34, -16.16)
CIE-LCHlch(33.77, 50.97, 341.51°)
OKLaboklab(44.91% 0.1455 -0.0432)
OKLCHoklch(44.91% 0.152 343.5)
XYZxyz(13.8088, 7.8963, 14.4298)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A276A #278A47
analogous
#79278A #8A276A #8A2739
triadic
#8A276A #6A8A27 #276A8A
tetradic
#8A276A #8A7927 #278A47 #27398A
square
#8A276A #8A7927 #278A47 #27398A
split-complementary
#8A276A #398A27 #278A79
monochromatic
#2B0C21 #5A1A45 #8A276A #BA348F #D15BAB

Accessibility & contrast

On white

8.14
#8A276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A276A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A276A#FFFFFF#000000##FFFFFF
##8A276A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31456C
Deuteranopia (green-blind)
#4F5568
Tritanopia (blue-blind)
#932745
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a276a;
/* rgb */ color: rgb(138, 39, 106);
/* oklch */ color: oklch(44.9% 0.152 343.5);
Tailwind
colors: {
  custom: {
    50: '#b06a94',
    500: '#8a276a',
    950: '#000000',
  },
}
SCSS
$custom: #8a276a;
$custom-light: #b06a94;
$custom-dark: #000000;
JSON
{
  "hex": "#8a276a",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 319.394,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44906,
    "c": 0.15175,
    "h": 343.5
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#8A276A
secondary
#57B676
accent
#DF7949
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A276A

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

Preview Lab → · Contrast checker → · Palette generator →

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