#8D1F6F#8D1F6F

#8D1F6F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.167 H 341.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8D1F6F
RGBrgb(141, 31, 111)
HSLhsl(316, 64%, 34%)
HSVhsv(316, 78%, 55%)
CMYKcmyk(0%, 78%, 21.3%, 44.7%)
CIE-LABlab(33.55, 52.65, -19.64)
CIE-LCHlch(33.55, 56.19, 339.54°)
OKLaboklab(44.92% 0.158 -0.0528)
OKLCHoklch(44.92% 0.167 341.5)
XYZxyz(14.3442, 7.7919, 15.7844)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F6F #1F8D3D
analogous
#741F8D #8D1F6F #8D1F38
triadic
#8D1F6F #6F8D1F #1F6F8D
tetradic
#8D1F6F #8D741F #1F8D3D #1F388D
square
#8D1F6F #8D741F #1F8D3D #1F388D
split-complementary
#8D1F6F #388D1F #1F8D74
monochromatic
#290920 #5B1448 #8D1F6F #BF2A96 #D84EB3

Accessibility & contrast

On white

8.21
#8D1F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8D1F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F6F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F6F#FFFFFF#000000##FFFFFF
##8D1F6F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294471
Deuteranopia (green-blind)
#4D556D
Tritanopia (blue-blind)
#962145
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1f6f;
/* rgb */ color: rgb(141, 31, 111);
/* oklch */ color: oklch(44.9% 0.167 341.5);
Tailwind
colors: {
  custom: {
    50: '#b26798',
    500: '#8d1f6f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f6f;
$custom-light: #b26798;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f6f",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 316.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44923,
    "c": 0.16657,
    "h": 341.5
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#8D1F6F
secondary
#4DBB6B
accent
#E76E41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D1F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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