#8D2276#8D2276

#8D2276 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.168 H 338.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8D2276
RGBrgb(141, 34, 118)
HSLhsl(313, 61%, 34%)
HSVhsv(313, 76%, 55%)
CMYKcmyk(0%, 75.9%, 16.3%, 44.7%)
CIE-LABlab(34.22, 52.68, -23.01)
CIE-LCHlch(34.22, 57.48, 336.40°)
OKLaboklab(45.52% 0.156 -0.0624)
OKLCHoklch(45.52% 0.168 338.2)
XYZxyz(14.8269, 8.1162, 17.9217)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2276 #228D39
analogous
#6F228D #8D2276 #8D2241
triadic
#8D2276 #768D22 #22768D
tetradic
#8D2276 #8D6F22 #228D39 #22418D
square
#8D2276 #8D6F22 #228D39 #22418D
split-complementary
#8D2276 #418D22 #228D6F
monochromatic
#2A0A23 #5C164D #8D2276 #BE2E9F #D654BA

Accessibility & contrast

On white

8.01
#8D2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2276
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2276#FFFFFF#000000##FFFFFF
##8D22761.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#4B5674
Tritanopia (blue-blind)
#952749
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2276;
/* rgb */ color: rgb(141, 34, 118);
/* oklch */ color: oklch(45.5% 0.168 338.2);
Tailwind
colors: {
  custom: {
    50: '#b2699d',
    500: '#8d2276',
    950: '#000000',
  },
}
SCSS
$custom: #8d2276;
$custom-light: #b2699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2276",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 312.897,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.16802,
    "h": 338.2
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#8D2276
secondary
#51B968
accent
#E46644
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2276

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

Preview Lab → · Contrast checker → · Palette generator →

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