#8A2864#8A2864

#8A2864 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.147 H 347.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A2864
RGBrgb(138, 40, 100)
HSLhsl(323, 55%, 35%)
HSVhsv(323, 71%, 54%)
CMYKcmyk(0%, 71%, 27.5%, 45.9%)
CIE-LABlab(33.65, 47.12, -12.51)
CIE-LCHlch(33.65, 48.75, 345.14°)
OKLaboklab(44.74% 0.1429 -0.033)
OKLCHoklch(44.74% 0.147 347)
XYZxyz(13.5409, 7.8424, 12.8547)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2864 #288A4E
analogous
#7F288A #8A2864 #8A2833
triadic
#8A2864 #648A28 #28648A
tetradic
#8A2864 #8A7F28 #288A4E #28338A
square
#8A2864 #8A7F28 #288A4E #28338A
split-complementary
#8A2864 #338A28 #288A7F
monochromatic
#2B0C1F #5B1A42 #8A2864 #B93686 #D05DA3

Accessibility & contrast

On white

8.18
#8A2864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2864
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2864#FFFFFF#000000##FFFFFF
##8A28641.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344466
Deuteranopia (green-blind)
#515562
Tritanopia (blue-blind)
#942542
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2864;
/* rgb */ color: rgb(138, 40, 100);
/* oklch */ color: oklch(44.7% 0.147 347.0);
Tailwind
colors: {
  custom: {
    50: '#b06a90',
    500: '#8a2864',
    950: '#000000',
  },
}
SCSS
$custom: #8a2864;
$custom-light: #b06a90;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2864",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 323.265,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4474,
    "c": 0.14668,
    "h": 347
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#8A2864
secondary
#59B57D
accent
#DE8349
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2864

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

Preview Lab → · Contrast checker → · Palette generator →

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