#8D2477#8D2477

#8D2477 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.166 H 337.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8D2477
RGBrgb(141, 36, 119)
HSLhsl(313, 59%, 35%)
HSVhsv(313, 74%, 55%)
CMYKcmyk(0%, 74.5%, 15.6%, 44.7%)
CIE-LABlab(34.51, 52.14, -23.19)
CIE-LCHlch(34.51, 57.07, 336.02°)
OKLaboklab(45.75% 0.1541 -0.063)
OKLCHoklch(45.75% 0.166 337.8)
XYZxyz(14.9455, 8.2578, 18.2560)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2477 #248D3A
analogous
#6E248D #8D2477 #8D2443
triadic
#8D2477 #778D24 #24778D
tetradic
#8D2477 #8D6E24 #248D3A #24438D
square
#8D2477 #8D6E24 #248D3A #24438D
split-complementary
#8D2477 #438D24 #248D6E
monochromatic
#2B0B25 #5C184E #8D2477 #BE30A0 #D457BA

Accessibility & contrast

On white

7.92
#8D2477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D2477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2477
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2477#FFFFFF#000000##FFFFFF
##8D24771.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#4B5775
Tritanopia (blue-blind)
#952A4B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2477;
/* rgb */ color: rgb(141, 36, 119);
/* oklch */ color: oklch(45.7% 0.166 337.8);
Tailwind
colors: {
  custom: {
    50: '#b26a9e',
    500: '#8d2477',
    950: '#000000',
  },
}
SCSS
$custom: #8d2477;
$custom-light: #b26a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2477",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 312.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45748,
    "c": 0.16642,
    "h": 337.8
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#8D2477
secondary
#54B869
accent
#E36645
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2477

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

Preview Lab → · Contrast checker → · Palette generator →

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