#8A276E#8A276E

#8A276E is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.154 H 341.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8A276E
RGBrgb(138, 39, 110)
HSLhsl(317, 56%, 35%)
HSVhsv(317, 72%, 54%)
CMYKcmyk(0%, 71.7%, 20.3%, 45.9%)
CIE-LABlab(33.94, 48.92, -18.43)
CIE-LCHlch(33.94, 52.27, 339.35°)
OKLaboklab(45.09% 0.1463 -0.0495)
OKLCHoklch(45.09% 0.154 341.3)
XYZxyz(14.0216, 7.9815, 15.5510)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A276E #278A43
analogous
#75278A #8A276E #8A273C
triadic
#8A276E #6E8A27 #276E8A
tetradic
#8A276E #8A7527 #278A43 #273C8A
square
#8A276E #8A7527 #278A43 #273C8A
split-complementary
#8A276E #3C8A27 #278A75
monochromatic
#2B0C22 #5A1A48 #8A276E #BA3494 #D15BAF

Accessibility & contrast

On white

8.09
#8A276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A276E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A276E#FFFFFF#000000##FFFFFF
##8A276E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4670
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#932947
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a276e;
/* rgb */ color: rgb(138, 39, 110);
/* oklch */ color: oklch(45.1% 0.154 341.3);
Tailwind
colors: {
  custom: {
    50: '#af6a97',
    500: '#8a276e',
    950: '#000000',
  },
}
SCSS
$custom: #8a276e;
$custom-light: #af6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a276e",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 316.97,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45094,
    "c": 0.15443,
    "h": 341.3
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#8A276E
secondary
#57B672
accent
#DF7349
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A276E

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

Preview Lab → · Contrast checker → · Palette generator →

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