#8A2471#8A2471

#8A2471 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 339.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8A2471
RGBrgb(138, 36, 113)
HSLhsl(315, 59%, 34%)
HSVhsv(315, 74%, 54%)
CMYKcmyk(0%, 73.9%, 18.1%, 45.9%)
CIE-LABlab(33.69, 50.48, -20.73)
CIE-LCHlch(33.69, 54.57, 337.67°)
OKLaboklab(44.95% 0.1502 -0.056)
OKLCHoklch(44.95% 0.16 339.5)
XYZxyz(14.0931, 7.8586, 16.3942)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2471 #248A3D
analogous
#70248A #8A2471 #8A243E
triadic
#8A2471 #718A24 #24718A
tetradic
#8A2471 #8A7024 #248A3D #243E8A
square
#8A2471 #8A7024 #248A3D #243E8A
split-complementary
#8A2471 #3E8A24 #248A70
monochromatic
#290B22 #591749 #8A2471 #BB3199 #D356B4

Accessibility & contrast

On white

8.17
#8A2471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2471
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2471#FFFFFF#000000##FFFFFF
##8A24711.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#922847
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2471;
/* rgb */ color: rgb(138, 36, 113);
/* oklch */ color: oklch(45.0% 0.160 339.5);
Tailwind
colors: {
  custom: {
    50: '#b0699a',
    500: '#8a2471',
    950: '#000000',
  },
}
SCSS
$custom: #8a2471;
$custom-light: #b0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2471",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 314.706,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.16026,
    "h": 339.5
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#8A2471
secondary
#53B76B
accent
#E26C46
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2471

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

Preview Lab → · Contrast checker → · Palette generator →

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