#8D1F68#8D1F68

#8D1F68 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.162 H 345.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8D1F68
RGBrgb(141, 31, 104)
HSLhsl(320, 64%, 34%)
HSVhsv(320, 78%, 55%)
CMYKcmyk(0%, 78%, 26.2%, 44.7%)
CIE-LABlab(33.23, 51.70, -15.66)
CIE-LCHlch(33.23, 54.02, 343.14°)
OKLaboklab(44.59% 0.1567 -0.0417)
OKLCHoklch(44.59% 0.162 345.1)
XYZxyz(13.9738, 7.6437, 13.8335)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F68 #1F8D44
analogous
#7B1F8D #8D1F68 #8D1F31
triadic
#8D1F68 #688D1F #1F688D
tetradic
#8D1F68 #8D7B1F #1F8D44 #1F318D
square
#8D1F68 #8D7B1F #1F8D44 #1F318D
split-complementary
#8D1F68 #318D1F #1F8D7B
monochromatic
#29091E #5B1443 #8D1F68 #BF2A8D #D84EAA

Accessibility & contrast

On white

8.31
#8D1F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8D1F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F68
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F68#FFFFFF#000000##FFFFFF
##8D1F681.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D426A
Deuteranopia (green-blind)
#4F5566
Tritanopia (blue-blind)
#971D41
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1f68;
/* rgb */ color: rgb(141, 31, 104);
/* oklch */ color: oklch(44.6% 0.162 345.1);
Tailwind
colors: {
  custom: {
    50: '#b26793',
    500: '#8d1f68',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f68;
$custom-light: #b26793;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f68",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 320.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.16216,
    "h": 345.1
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#8D1F68
secondary
#4DBB72
accent
#E77941
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D1F68

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

Preview Lab → · Contrast checker → · Palette generator →

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