#8D1F74#8D1F74

#8D1F74 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.170 H 339.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8D1F74
RGBrgb(141, 31, 116)
HSLhsl(314, 64%, 34%)
HSVhsv(314, 78%, 55%)
CMYKcmyk(0%, 78%, 17.7%, 44.7%)
CIE-LABlab(33.78, 53.36, -22.44)
CIE-LCHlch(33.78, 57.88, 337.19°)
OKLaboklab(45.17% 0.1587 -0.0608)
OKLCHoklch(45.17% 0.17 339)
XYZxyz(14.6273, 7.9051, 17.2751)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F74 #1F8D38
analogous
#6F1F8D #8D1F74 #8D1F3D
triadic
#8D1F74 #748D1F #1F748D
tetradic
#8D1F74 #8D6F1F #1F8D38 #1F3D8D
square
#8D1F74 #8D6F1F #1F8D38 #1F3D8D
split-complementary
#8D1F74 #3D8D1F #1F8D6F
monochromatic
#290921 #5B144B #8D1F74 #BF2A9D #D84EB9

Accessibility & contrast

On white

8.14
#8D1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F74
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F74#FFFFFF#000000##FFFFFF
##8D1F741.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264476
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#952447
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1f74;
/* rgb */ color: rgb(141, 31, 116);
/* oklch */ color: oklch(45.2% 0.170 339.0);
Tailwind
colors: {
  custom: {
    50: '#b2679c',
    500: '#8d1f74',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f74;
$custom-light: #b2679c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f74",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 313.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.16991,
    "h": 339
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#8D1F74
secondary
#4DBB66
accent
#E76741
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1F74

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

Preview Lab → · Contrast checker → · Palette generator →

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