#8A2477#8A2477

#8A2477 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.165 H 336.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8A2477
RGBrgb(138, 36, 119)
HSLhsl(311, 59%, 34%)
HSVhsv(311, 74%, 54%)
CMYKcmyk(0%, 73.9%, 13.8%, 45.9%)
CIE-LABlab(33.98, 51.38, -24.07)
CIE-LCHlch(33.98, 56.74, 334.90°)
OKLaboklab(45.26% 0.151 -0.0655)
OKLCHoklch(45.26% 0.165 336.5)
XYZxyz(14.4421, 7.9982, 18.2324)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2477 #248A37
analogous
#6A248A #8A2477 #8A2444
triadic
#8A2477 #778A24 #24778A
tetradic
#8A2477 #8A6A24 #248A37 #24448A
square
#8A2477 #8A6A24 #248A37 #24448A
split-complementary
#8A2477 #448A24 #248A6A
monochromatic
#290B23 #59174D #8A2477 #BB31A1 #D356BB

Accessibility & contrast

On white

8.08
#8A2477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2477
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2477#FFFFFF#000000##FFFFFF
##8A24771.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264679
Deuteranopia (green-blind)
#495575
Tritanopia (blue-blind)
#912B4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2477;
/* rgb */ color: rgb(138, 36, 119);
/* oklch */ color: oklch(45.3% 0.165 336.5);
Tailwind
colors: {
  custom: {
    50: '#af699e',
    500: '#8a2477',
    950: '#000000',
  },
}
SCSS
$custom: #8a2477;
$custom-light: #af699e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2477",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 311.176,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4526,
    "c": 0.16455,
    "h": 336.5
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#8A2477
secondary
#53B765
accent
#E26346
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2477

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

Preview Lab → · Contrast checker → · Palette generator →

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