#8A2672#8A2672

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

Color values

HEX#8A2672
RGBrgb(138, 38, 114)
HSLhsl(314, 57%, 35%)
HSVhsv(314, 72%, 54%)
CMYKcmyk(0%, 72.5%, 17.4%, 45.9%)
CIE-LABlab(33.99, 49.89, -20.89)
CIE-LCHlch(33.99, 54.09, 337.28°)
OKLaboklab(45.19% 0.1481 -0.0565)
OKLCHoklch(45.19% 0.158 339.1)
XYZxyz(14.2119, 8.0057, 16.7131)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2672 #268A3E
analogous
#70268A #8A2672 #8A2640
triadic
#8A2672 #728A26 #26728A
tetradic
#8A2672 #8A7026 #268A3E #26408A
square
#8A2672 #8A7026 #268A3E #26408A
split-complementary
#8A2672 #408A26 #268A70
monochromatic
#2A0C23 #5A194A #8A2672 #BA339A #D159B4

Accessibility & contrast

On white

8.07
#8A2672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2672
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2672#FFFFFF#000000##FFFFFF
##8A26721.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#4C5670
Tritanopia (blue-blind)
#922A49
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2672;
/* rgb */ color: rgb(138, 38, 114);
/* oklch */ color: oklch(45.2% 0.158 339.1);
Tailwind
colors: {
  custom: {
    50: '#af6a9a',
    500: '#8a2672',
    950: '#000000',
  },
}
SCSS
$custom: #8a2672;
$custom-light: #af6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2672",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 314.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.15849,
    "h": 339.1
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#8A2672
secondary
#56B66D
accent
#E06C48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2672

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

Preview Lab → · Contrast checker → · Palette generator →

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