#8D1F62#8D1F62

#8D1F62 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.159 H 348.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8D1F62
RGBrgb(141, 31, 98)
HSLhsl(323, 64%, 34%)
HSVhsv(323, 78%, 55%)
CMYKcmyk(0%, 78%, 30.5%, 44.7%)
CIE-LABlab(32.98, 50.93, -12.20)
CIE-LCHlch(32.98, 52.37, 346.53°)
OKLaboklab(44.32% 0.1554 -0.0321)
OKLCHoklch(44.32% 0.159 348.3)
XYZxyz(13.6798, 7.5261, 12.2852)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F62 #1F8D4A
analogous
#811F8D #8D1F62 #8D1F2B
triadic
#8D1F62 #628D1F #1F628D
tetradic
#8D1F62 #8D811F #1F8D4A #1F2B8D
square
#8D1F62 #8D811F #1F8D4A #1F2B8D
split-complementary
#8D1F62 #2B8D1F #1F8D81
monochromatic
#29091C #5B143F #8D1F62 #BF2A85 #D84EA2

Accessibility & contrast

On white

8.38
#8D1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8D1F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F62
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F62#FFFFFF#000000##FFFFFF
##8D1F621.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304164
Deuteranopia (green-blind)
#515460
Tritanopia (blue-blind)
#97193E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1f62;
/* rgb */ color: rgb(141, 31, 98);
/* oklch */ color: oklch(44.3% 0.159 348.3);
Tailwind
colors: {
  custom: {
    50: '#b2678e',
    500: '#8d1f62',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f62;
$custom-light: #b2678e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f62",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 323.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.15867,
    "h": 348.3
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#8D1F62
secondary
#4DBB78
accent
#E78241
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8D1F62

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

Preview Lab → · Contrast checker → · Palette generator →

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