#8A2677#8A2677

#8A2677 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.162 H 336.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8A2677
RGBrgb(138, 38, 119)
HSLhsl(311, 57%, 35%)
HSVhsv(311, 72%, 54%)
CMYKcmyk(0%, 72.5%, 13.8%, 45.9%)
CIE-LABlab(34.24, 50.65, -23.66)
CIE-LCHlch(34.24, 55.91, 334.96°)
OKLaboklab(45.45% 0.1488 -0.0644)
OKLCHoklch(45.45% 0.162 336.6)
XYZxyz(14.5044, 8.1227, 18.2531)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2677 #268A39
analogous
#6B268A #8A2677 #8A2645
triadic
#8A2677 #778A26 #26778A
tetradic
#8A2677 #8A6B26 #268A39 #26458A
square
#8A2677 #8A6B26 #268A39 #26458A
split-complementary
#8A2677 #458A26 #268A6B
monochromatic
#2A0C24 #5A194E #8A2677 #BA33A0 #D159BA

Accessibility & contrast

On white

8.00
#8A2677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2677
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2677#FFFFFF#000000##FFFFFF
##8A26771.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#4A5675
Tritanopia (blue-blind)
#912C4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2677;
/* rgb */ color: rgb(138, 38, 119);
/* oklch */ color: oklch(45.4% 0.162 336.6);
Tailwind
colors: {
  custom: {
    50: '#af6a9e',
    500: '#8a2677',
    950: '#000000',
  },
}
SCSS
$custom: #8a2677;
$custom-light: #af6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2677",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 311.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.16211,
    "h": 336.6
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#8A2677
secondary
#56B668
accent
#E06548
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2677

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

Preview Lab → · Contrast checker → · Palette generator →

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