#8D1F58#8D1F58

#8D1F58 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.154 H 354.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8D1F58
RGBrgb(141, 31, 88)
HSLhsl(329, 64%, 34%)
HSVhsv(329, 78%, 55%)
CMYKcmyk(0%, 78%, 37.6%, 44.7%)
CIE-LABlab(32.59, 49.74, -6.32)
CIE-LCHlch(32.59, 50.14, 352.76°)
OKLaboklab(43.91% 0.1527 -0.0161)
OKLCHoklch(43.91% 0.154 354)
XYZxyz(13.2368, 7.3489, 9.9521)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F58 #1F8D54
analogous
#8B1F8D #8D1F58 #8D1F21
triadic
#8D1F58 #588D1F #1F588D
tetradic
#8D1F58 #8D8B1F #1F8D54 #1F218D
square
#8D1F58 #8D8B1F #1F8D54 #1F218D
split-complementary
#8D1F58 #218D1F #1F8D8B
monochromatic
#290919 #5B1439 #8D1F58 #BF2A77 #D84E96

Accessibility & contrast

On white

8.50
#8D1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8D1F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F58
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F58#FFFFFF#000000##FFFFFF
##8D1F581.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354059
Deuteranopia (green-blind)
#535456
Tritanopia (blue-blind)
#981239
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1f58;
/* rgb */ color: rgb(141, 31, 88);
/* oklch */ color: oklch(43.9% 0.154 354.0);
Tailwind
colors: {
  custom: {
    50: '#b36687',
    500: '#8d1f58',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f58;
$custom-light: #b36687;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f58",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 328.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43914,
    "c": 0.15355,
    "h": 354
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#8D1F58
secondary
#4DBB82
accent
#E79141
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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