#8A284D#8A284D

#8A284D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.9% C 0.136 H 1.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8A284D
RGBrgb(138, 40, 77)
HSLhsl(337, 55%, 35%)
HSVhsv(337, 71%, 54%)
CMYKcmyk(0%, 71%, 44.2%, 45.9%)
CIE-LABlab(32.83, 44.35, 1.13)
CIE-LCHlch(32.83, 44.36, 1.47°)
OKLaboklab(43.86% 0.1358 0.0034)
OKLCHoklch(43.86% 0.136 1.5)
XYZxyz(12.5805, 7.4582, 7.7968)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A284D #288A65
analogous
#8A287E #8A284D #8A3428
triadic
#8A284D #4D8A28 #284D8A
tetradic
#8A284D #7E8A28 #288A65 #34288A
square
#8A284D #7E8A28 #288A65 #34288A
split-complementary
#8A284D #288A34 #287E8A
monochromatic
#2B0C18 #5B1A33 #8A284D #B93667 #D05D88

Accessibility & contrast

On white

8.43
#8A284D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A284D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A284D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A284D#FFFFFF#000000##FFFFFF
##8A284D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#57544B
Tritanopia (blue-blind)
#961B37
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a284d;
/* rgb */ color: rgb(138, 40, 77);
/* oklch */ color: oklch(43.9% 0.136 1.5);
Tailwind
colors: {
  custom: {
    50: '#b16a7e',
    500: '#8a284d',
    950: '#000000',
  },
}
SCSS
$custom: #8a284d;
$custom-light: #b16a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a284d",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 337.347,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.13582,
    "h": 1.5
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#8A284D
secondary
#59B592
accent
#DEA649
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A284D

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

Preview Lab → · Contrast checker → · Palette generator →

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