#8A274D#8A274D

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

Color values

HEX#8A274D
RGBrgb(138, 39, 77)
HSLhsl(337, 56%, 35%)
HSVhsv(337, 72%, 54%)
CMYKcmyk(0%, 71.7%, 44.2%, 45.9%)
CIE-LABlab(32.68, 44.75, 0.92)
CIE-LCHlch(32.68, 44.76, 1.18°)
OKLaboklab(43.76% 0.1371 0.0029)
OKLCHoklch(43.76% 0.137 1.2)
XYZxyz(12.5472, 7.3917, 7.7857)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A274D #278A64
analogous
#8A277E #8A274D #8A3327
triadic
#8A274D #4D8A27 #274D8A
tetradic
#8A274D #7E8A27 #278A64 #33278A
square
#8A274D #7E8A27 #278A64 #33278A
split-complementary
#8A274D #278A33 #277E8A
monochromatic
#2B0C18 #5A1A32 #8A274D #BA3468 #D15B88

Accessibility & contrast

On white

8.47
#8A274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A274D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A274D#FFFFFF#000000##FFFFFF
##8A274D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#56544B
Tritanopia (blue-blind)
#961937
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a274d;
/* rgb */ color: rgb(138, 39, 77);
/* oklch */ color: oklch(43.8% 0.137 1.2);
Tailwind
colors: {
  custom: {
    50: '#b1697e',
    500: '#8a274d',
    950: '#000000',
  },
}
SCSS
$custom: #8a274d;
$custom-light: #b1697e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a274d",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 336.97,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.1371,
    "h": 1.2
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#8A274D
secondary
#57B691
accent
#DFA549
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A274D

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

Preview Lab → · Contrast checker → · Palette generator →

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