#8A274C#8A274C

#8A274C is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.137 H 1.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8A274C
RGBrgb(138, 39, 76)
HSLhsl(338, 56%, 35%)
HSVhsv(338, 72%, 54%)
CMYKcmyk(0%, 71.7%, 44.9%, 45.9%)
CIE-LABlab(32.65, 44.65, 1.53)
CIE-LCHlch(32.65, 44.67, 1.96°)
OKLaboklab(43.72% 0.1367 0.0045)
OKLCHoklch(43.72% 0.137 1.9)
XYZxyz(12.5122, 7.3777, 7.6012)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A274C #278A65
analogous
#8A277D #8A274C #8A3427
triadic
#8A274C #4C8A27 #274C8A
tetradic
#8A274C #7D8A27 #278A65 #34278A
square
#8A274C #7D8A27 #278A65 #34278A
split-complementary
#8A274C #278A34 #277D8A
monochromatic
#2B0C17 #5A1A32 #8A274C #BA3466 #D15B87

Accessibility & contrast

On white

8.48
#8A274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A274C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A274C#FFFFFF#000000##FFFFFF
##8A274C1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414D
Deuteranopia (green-blind)
#57544A
Tritanopia (blue-blind)
#961936
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a274c;
/* rgb */ color: rgb(138, 39, 76);
/* oklch */ color: oklch(43.7% 0.137 1.9);
Tailwind
colors: {
  custom: {
    50: '#b1697d',
    500: '#8a274c',
    950: '#000000',
  },
}
SCSS
$custom: #8a274c;
$custom-light: #b1697d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a274c",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 337.576,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43723,
    "c": 0.13677,
    "h": 1.9
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#8A274C
secondary
#57B692
accent
#DFA749
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A274C

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

Preview Lab → · Contrast checker → · Palette generator →

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