#8D2678#8D2678

#8D2678 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.165 H 337.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8D2678
RGBrgb(141, 38, 120)
HSLhsl(312, 58%, 35%)
HSVhsv(312, 73%, 55%)
CMYKcmyk(0%, 73%, 14.9%, 44.7%)
CIE-LABlab(34.82, 51.58, -23.35)
CIE-LCHlch(34.82, 56.62, 335.64°)
OKLaboklab(45.98% 0.152 -0.0634)
OKLCHoklch(45.98% 0.165 337.4)
XYZxyz(15.0681, 8.4064, 18.5947)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2678 #268D3B
analogous
#6E268D #8D2678 #8D2644
triadic
#8D2678 #788D26 #26788D
tetradic
#8D2678 #8D6E26 #268D3B #26448D
square
#8D2678 #8D6E26 #268D3B #26448D
split-complementary
#8D2678 #448D26 #268D6E
monochromatic
#2D0C26 #5D194F #8D2678 #BD33A1 #D35BBA

Accessibility & contrast

On white

7.83
#8D2678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D2678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2678
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2678#FFFFFF#000000##FFFFFF
##8D26781.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487A
Deuteranopia (green-blind)
#4C5876
Tritanopia (blue-blind)
#952C4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2678;
/* rgb */ color: rgb(141, 38, 120);
/* oklch */ color: oklch(46.0% 0.165 337.4);
Tailwind
colors: {
  custom: {
    50: '#b26a9f',
    500: '#8d2678',
    950: '#000000',
  },
}
SCSS
$custom: #8d2678;
$custom-light: #b26a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2678",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 312.233,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45982,
    "c": 0.16474,
    "h": 337.4
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#8D2678
secondary
#57B86B
accent
#E16647
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2678

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

Preview Lab → · Contrast checker → · Palette generator →

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