#8A276F#8A276F

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

Color values

HEX#8A276F
RGBrgb(138, 39, 111)
HSLhsl(316, 56%, 35%)
HSVhsv(316, 72%, 54%)
CMYKcmyk(0%, 71.7%, 19.6%, 45.9%)
CIE-LABlab(33.99, 49.06, -19.00)
CIE-LCHlch(33.99, 52.61, 338.84°)
OKLaboklab(45.14% 0.1464 -0.0511)
OKLCHoklch(45.14% 0.155 340.7)
XYZxyz(14.0764, 8.0034, 15.8393)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A276F #278A42
analogous
#74278A #8A276F #8A273D
triadic
#8A276F #6F8A27 #276F8A
tetradic
#8A276F #8A7427 #278A42 #273D8A
square
#8A276F #8A7427 #278A42 #273D8A
split-complementary
#8A276F #3D8A27 #278A74
monochromatic
#2B0C22 #5A1A49 #8A276F #BA3495 #D15BB0

Accessibility & contrast

On white

8.08
#8A276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A276F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A276F#FFFFFF#000000##FFFFFF
##8A276F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4671
Deuteranopia (green-blind)
#4D566D
Tritanopia (blue-blind)
#922947
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a276f;
/* rgb */ color: rgb(138, 39, 111);
/* oklch */ color: oklch(45.1% 0.155 340.7);
Tailwind
colors: {
  custom: {
    50: '#af6a98',
    500: '#8a276f',
    950: '#000000',
  },
}
SCSS
$custom: #8a276f;
$custom-light: #af6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a276f",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 316.364,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.15511,
    "h": 340.7
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#8A276F
secondary
#57B671
accent
#DF7249
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A276F

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

Preview Lab → · Contrast checker → · Palette generator →

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