#8A275C#8A275C

#8A275C is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.144 H 351.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A275C
RGBrgb(138, 39, 92)
HSLhsl(328, 56%, 35%)
HSVhsv(328, 72%, 54%)
CMYKcmyk(0%, 71.7%, 33.3%, 45.9%)
CIE-LABlab(33.20, 46.48, -8.05)
CIE-LCHlch(33.20, 47.17, 350.17°)
OKLaboklab(44.3% 0.142 -0.0208)
OKLCHoklch(44.3% 0.144 351.7)
XYZxyz(13.1392, 7.6285, 10.9036)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A275C #278A55
analogous
#87278A #8A275C #8A272A
triadic
#8A275C #5C8A27 #275C8A
tetradic
#8A275C #8A8727 #278A55 #272A8A
square
#8A275C #8A8727 #278A55 #272A8A
split-complementary
#8A275C #2A8A27 #278A87
monochromatic
#2B0C1C #5A1A3C #8A275C #BA347C #D15B9A

Accessibility & contrast

On white

8.32
#8A275C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A275C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A275C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A275C#FFFFFF#000000##FFFFFF
##8A275C1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435D
Deuteranopia (green-blind)
#53555A
Tritanopia (blue-blind)
#95203E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a275c;
/* rgb */ color: rgb(138, 39, 92);
/* oklch */ color: oklch(44.3% 0.144 351.7);
Tailwind
colors: {
  custom: {
    50: '#b06a8a',
    500: '#8a275c',
    950: '#000000',
  },
}
SCSS
$custom: #8a275c;
$custom-light: #b06a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a275c",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 327.879,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.14352,
    "h": 351.7
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#8A275C
secondary
#57B683
accent
#DF8F49
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A275C

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

Preview Lab → · Contrast checker → · Palette generator →

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