#8D1F4E#8D1F4E

#8D1F4E is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.149 H 359.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8D1F4E
RGBrgb(141, 31, 78)
HSLhsl(334, 64%, 34%)
HSVhsv(334, 78%, 55%)
CMYKcmyk(0%, 78%, 44.7%, 44.7%)
CIE-LABlab(32.25, 48.67, -0.30)
CIE-LCHlch(32.25, 48.67, 359.65°)
OKLaboklab(43.55% 0.1495 -0.0002)
OKLCHoklch(43.55% 0.149 359.9)
XYZxyz(12.8506, 7.1944, 7.9182)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F4E #1F8D5E
analogous
#8D1F85 #8D1F4E #8D271F
triadic
#8D1F4E #4E8D1F #1F4E8D
tetradic
#8D1F4E #858D1F #1F8D5E #271F8D
square
#8D1F4E #858D1F #1F8D5E #271F8D
split-complementary
#8D1F4E #1F8D27 #1F858D
monochromatic
#290916 #5B1432 #8D1F4E #BF2A6A #D84E89

Accessibility & contrast

On white

8.61
#8D1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8D1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F4E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F4E#FFFFFF#000000##FFFFFF
##8D1F4E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4F
Deuteranopia (green-blind)
#56534B
Tritanopia (blue-blind)
#990A34
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1f4e;
/* rgb */ color: rgb(141, 31, 78);
/* oklch */ color: oklch(43.5% 0.149 359.9);
Tailwind
colors: {
  custom: {
    50: '#b3667f',
    500: '#8d1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f4e;
$custom-light: #b3667f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f4e",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 334.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.14947,
    "h": 359.9
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#8D1F4E
secondary
#4DBB8C
accent
#E7A041
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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