#8D1F73#8D1F73

#8D1F73 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.169 H 339.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8D1F73
RGBrgb(141, 31, 115)
HSLhsl(314, 64%, 34%)
HSVhsv(314, 78%, 55%)
CMYKcmyk(0%, 78%, 18.4%, 44.7%)
CIE-LABlab(33.74, 53.21, -21.88)
CIE-LCHlch(33.74, 57.54, 337.65°)
OKLaboklab(45.12% 0.1585 -0.0592)
OKLCHoklch(45.12% 0.169 339.5)
XYZxyz(14.5694, 7.8819, 16.9704)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F73 #1F8D39
analogous
#701F8D #8D1F73 #8D1F3C
triadic
#8D1F73 #738D1F #1F738D
tetradic
#8D1F73 #8D701F #1F8D39 #1F3C8D
square
#8D1F73 #8D701F #1F8D39 #1F3C8D
split-complementary
#8D1F73 #3C8D1F #1F8D70
monochromatic
#290921 #5B144A #8D1F73 #BF2A9C #D84EB8

Accessibility & contrast

On white

8.15
#8D1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F73
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F73#FFFFFF#000000##FFFFFF
##8D1F731.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274475
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#952347
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1f73;
/* rgb */ color: rgb(141, 31, 115);
/* oklch */ color: oklch(45.1% 0.169 339.5);
Tailwind
colors: {
  custom: {
    50: '#b2679b',
    500: '#8d1f73',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f73;
$custom-light: #b2679b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f73",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 314.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45122,
    "c": 0.16923,
    "h": 339.5
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#8D1F73
secondary
#4DBB67
accent
#E76841
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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