#8D1276#8D1276

#8D1276 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.183 H 337.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8D1276
RGBrgb(141, 18, 118)
HSLhsl(311, 77%, 31%)
HSVhsv(311, 87%, 55%)
CMYKcmyk(0%, 87.2%, 16.3%, 44.7%)
CIE-LABlab(32.71, 57.03, -25.38)
CIE-LCHlch(32.71, 62.42, 336.01°)
OKLaboklab(44.44% 0.1691 -0.0691)
OKLCHoklch(44.44% 0.183 337.8)
XYZxyz(14.4712, 7.4048, 17.8032)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1276 #128D29
analogous
#66128D #8D1276 #8D1238
triadic
#8D1276 #768D12 #12768D
tetradic
#8D1276 #8D6612 #128D29 #12388D
square
#8D1276 #8D6612 #128D29 #12388D
split-complementary
#8D1276 #388D12 #128D66
monochromatic
#20041B #570B49 #8D1276 #C319A3 #E534C4

Accessibility & contrast

On white

8.47
#8D1276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8D1276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1276
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1276#FFFFFF#000000##FFFFFF
##8D12761.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#951C46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1276;
/* rgb */ color: rgb(141, 18, 118);
/* oklch */ color: oklch(44.4% 0.183 337.8);
Tailwind
colors: {
  custom: {
    50: '#b2639e',
    500: '#8d1276',
    950: '#000000',
  },
}
SCSS
$custom: #8d1276;
$custom-light: #b2639e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1276",
  "rgb": {
    "r": 141,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 311.22,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.18266,
    "h": 337.8
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#8D1276
secondary
#39C153
accent
#F45834
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1276

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

Preview Lab → · Contrast checker → · Palette generator →

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