#8A274E#8A274E

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

Color values

HEX#8A274E
RGBrgb(138, 39, 78)
HSLhsl(336, 56%, 35%)
HSVhsv(336, 72%, 54%)
CMYKcmyk(0%, 71.7%, 43.5%, 45.9%)
CIE-LABlab(32.71, 44.86, 0.32)
CIE-LCHlch(32.71, 44.86, 0.40°)
OKLaboklab(43.79% 0.1374 0.0013)
OKLCHoklch(43.79% 0.137 0.6)
XYZxyz(12.5828, 7.4059, 7.9731)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A274E #278A63
analogous
#8A277F #8A274E #8A3227
triadic
#8A274E #4E8A27 #274E8A
tetradic
#8A274E #7F8A27 #278A63 #32278A
square
#8A274E #7F8A27 #278A63 #32278A
split-complementary
#8A274E #278A32 #277F8A
monochromatic
#2B0C18 #5A1A33 #8A274E #BA3469 #D15B89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A274E#FFFFFF#000000##FFFFFF
##8A274E1.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)
#3B414F
Deuteranopia (green-blind)
#56544C
Tritanopia (blue-blind)
#961A37
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a274e;
/* rgb */ color: rgb(138, 39, 78);
/* oklch */ color: oklch(43.8% 0.137 0.6);
Tailwind
colors: {
  custom: {
    50: '#b1697f',
    500: '#8a274e',
    950: '#000000',
  },
}
SCSS
$custom: #8a274e;
$custom-light: #b1697f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a274e",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 336.364,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43789,
    "c": 0.13744,
    "h": 0.6
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#8A274E
secondary
#57B690
accent
#DFA449
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A274E

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

Preview Lab → · Contrast checker → · Palette generator →

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