#8A2671#8A2671

#8A2671 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.158 H 339.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8A2671
RGBrgb(138, 38, 113)
HSLhsl(315, 57%, 35%)
HSVhsv(315, 72%, 54%)
CMYKcmyk(0%, 72.5%, 18.1%, 45.9%)
CIE-LABlab(33.95, 49.74, -20.33)
CIE-LCHlch(33.95, 53.73, 337.77°)
OKLaboklab(45.14% 0.1479 -0.0549)
OKLCHoklch(45.14% 0.158 339.6)
XYZxyz(14.1553, 7.9831, 16.4150)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2671 #268A3F
analogous
#71268A #8A2671 #8A263F
triadic
#8A2671 #718A26 #26718A
tetradic
#8A2671 #8A7126 #268A3F #263F8A
square
#8A2671 #8A7126 #268A3F #263F8A
split-complementary
#8A2671 #3F8A26 #268A71
monochromatic
#2A0C22 #5A194A #8A2671 #BA3398 #D159B3

Accessibility & contrast

On white

8.09
#8A2671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A2671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2671
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2671#FFFFFF#000000##FFFFFF
##8A26711.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#922948
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2671;
/* rgb */ color: rgb(138, 38, 113);
/* oklch */ color: oklch(45.1% 0.158 339.6);
Tailwind
colors: {
  custom: {
    50: '#af6a9a',
    500: '#8a2671',
    950: '#000000',
  },
}
SCSS
$custom: #8a2671;
$custom-light: #af6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2671",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 315,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.15779,
    "h": 339.6
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#8A2671
secondary
#56B66E
accent
#E06E48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2671

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

Preview Lab → · Contrast checker → · Palette generator →

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