#8D2278#8D2278

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

Color values

HEX#8D2278
RGBrgb(141, 34, 120)
HSLhsl(312, 61%, 34%)
HSVhsv(312, 76%, 55%)
CMYKcmyk(0%, 75.9%, 14.9%, 44.7%)
CIE-LABlab(34.32, 52.98, -24.12)
CIE-LCHlch(34.32, 58.21, 335.52°)
OKLaboklab(45.63% 0.1562 -0.0656)
OKLCHoklch(45.63% 0.169 337.2)
XYZxyz(14.9470, 8.1642, 18.5543)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2278 #228D37
analogous
#6D228D #8D2278 #8D2242
triadic
#8D2278 #788D22 #22788D
tetradic
#8D2278 #8D6D22 #228D37 #22428D
square
#8D2278 #8D6D22 #228D37 #22428D
split-complementary
#8D2278 #428D22 #228D6D
monochromatic
#2A0A24 #5C164E #8D2278 #BE2EA2 #D654BC

Accessibility & contrast

On white

7.98
#8D2278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2278
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2278#FFFFFF#000000##FFFFFF
##8D22781.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#4A5775
Tritanopia (blue-blind)
#95294A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2278;
/* rgb */ color: rgb(141, 34, 120);
/* oklch */ color: oklch(45.6% 0.169 337.2);
Tailwind
colors: {
  custom: {
    50: '#b2699f',
    500: '#8d2278',
    950: '#000000',
  },
}
SCSS
$custom: #8d2278;
$custom-light: #b2699f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2278",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 311.776,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.16943,
    "h": 337.2
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#8D2278
secondary
#51B966
accent
#E46344
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2278

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

Preview Lab → · Contrast checker → · Palette generator →

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