#8D1F72#8D1F72

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

Color values

HEX#8D1F72
RGBrgb(141, 31, 114)
HSLhsl(315, 64%, 34%)
HSVhsv(315, 78%, 55%)
CMYKcmyk(0%, 78%, 19.1%, 44.7%)
CIE-LABlab(33.69, 53.07, -21.32)
CIE-LCHlch(33.69, 57.19, 338.11°)
OKLaboklab(45.07% 0.1584 -0.0576)
OKLCHoklch(45.07% 0.169 340)
XYZxyz(14.5122, 7.8591, 16.6690)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F72 #1F8D3A
analogous
#711F8D #8D1F72 #8D1F3B
triadic
#8D1F72 #728D1F #1F728D
tetradic
#8D1F72 #8D711F #1F8D3A #1F3B8D
square
#8D1F72 #8D711F #1F8D3A #1F3B8D
split-complementary
#8D1F72 #3B8D1F #1F8D71
monochromatic
#290921 #5B1449 #8D1F72 #BF2A9B #D84EB6

Accessibility & contrast

On white

8.17
#8D1F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D1F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F72
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F72#FFFFFF#000000##FFFFFF
##8D1F721.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#962346
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1f72;
/* rgb */ color: rgb(141, 31, 114);
/* oklch */ color: oklch(45.1% 0.169 340.0);
Tailwind
colors: {
  custom: {
    50: '#b2679a',
    500: '#8d1f72',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f72;
$custom-light: #b2679a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f72",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 314.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.16856,
    "h": 340
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#8D1F72
secondary
#4DBB68
accent
#E76A41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1F72

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

Preview Lab → · Contrast checker → · Palette generator →

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