#8D1273#8D1273

#8D1273 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.3% C 0.181 H 339.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8D1273
RGBrgb(141, 18, 115)
HSLhsl(313, 77%, 31%)
HSVhsv(313, 87%, 55%)
CMYKcmyk(0%, 87.2%, 18.4%, 44.7%)
CIE-LABlab(32.56, 56.61, -23.72)
CIE-LCHlch(32.56, 61.38, 337.27°)
OKLaboklab(44.28% 0.1688 -0.0643)
OKLCHoklch(44.28% 0.181 339.1)
XYZxyz(14.2957, 7.3346, 16.8792)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1273 #128D2C
analogous
#69128D #8D1273 #8D1235
triadic
#8D1273 #738D12 #12738D
tetradic
#8D1273 #8D6912 #128D2C #12358D
square
#8D1273 #8D6912 #128D2C #12358D
split-complementary
#8D1273 #358D12 #128D69
monochromatic
#20041A #570B47 #8D1273 #C3199F #E534C0

Accessibility & contrast

On white

8.51
#8D1273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8D1273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1273
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1273#FFFFFF#000000##FFFFFF
##8D12731.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4175
Deuteranopia (green-blind)
#485370
Tritanopia (blue-blind)
#961A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1273;
/* rgb */ color: rgb(141, 18, 115);
/* oklch */ color: oklch(44.3% 0.181 339.1);
Tailwind
colors: {
  custom: {
    50: '#b2639b',
    500: '#8d1273',
    950: '#000000',
  },
}
SCSS
$custom: #8d1273;
$custom-light: #b2639b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1273",
  "rgb": {
    "r": 141,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 312.683,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44275,
    "c": 0.18068,
    "h": 339.1
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#8D1273
secondary
#39C156
accent
#F45C34
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1273

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

Preview Lab → · Contrast checker → · Palette generator →

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