#8D2277#8D2277

#8D2277 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.169 H 337.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8D2277
RGBrgb(141, 34, 119)
HSLhsl(312, 61%, 34%)
HSVhsv(312, 76%, 55%)
CMYKcmyk(0%, 75.9%, 15.6%, 44.7%)
CIE-LABlab(34.27, 52.82, -23.57)
CIE-LCHlch(34.27, 57.84, 335.96°)
OKLaboklab(45.57% 0.1561 -0.064)
OKLCHoklch(45.57% 0.169 337.7)
XYZxyz(14.8866, 8.1401, 18.2364)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2277 #228D38
analogous
#6E228D #8D2277 #8D2242
triadic
#8D2277 #778D22 #22778D
tetradic
#8D2277 #8D6E22 #228D38 #22428D
square
#8D2277 #8D6E22 #228D38 #22428D
split-complementary
#8D2277 #428D22 #228D6E
monochromatic
#2A0A24 #5C164D #8D2277 #BE2EA1 #D654BB

Accessibility & contrast

On white

7.99
#8D2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2277
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2277#FFFFFF#000000##FFFFFF
##8D22771.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264679
Deuteranopia (green-blind)
#4B5675
Tritanopia (blue-blind)
#95284A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2277;
/* rgb */ color: rgb(141, 34, 119);
/* oklch */ color: oklch(45.6% 0.169 337.7);
Tailwind
colors: {
  custom: {
    50: '#b2699e',
    500: '#8d2277',
    950: '#000000',
  },
}
SCSS
$custom: #8d2277;
$custom-light: #b2699e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2277",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 312.336,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.16872,
    "h": 337.7
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#8D2277
secondary
#51B967
accent
#E46544
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2277

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

Preview Lab → · Contrast checker → · Palette generator →

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