#8D1F63#8D1F63

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

Color values

HEX#8D1F63
RGBrgb(141, 31, 99)
HSLhsl(323, 64%, 34%)
HSVhsv(323, 78%, 55%)
CMYKcmyk(0%, 78%, 29.8%, 44.7%)
CIE-LABlab(33.02, 51.05, -12.78)
CIE-LCHlch(33.02, 52.63, 345.94°)
OKLaboklab(44.37% 0.1556 -0.0337)
OKLCHoklch(44.37% 0.159 347.8)
XYZxyz(13.7273, 7.5451, 12.5354)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F63 #1F8D49
analogous
#801F8D #8D1F63 #8D1F2C
triadic
#8D1F63 #638D1F #1F638D
tetradic
#8D1F63 #8D801F #1F8D49 #1F2C8D
square
#8D1F63 #8D801F #1F8D49 #1F2C8D
split-complementary
#8D1F63 #2C8D1F #1F8D80
monochromatic
#29091D #5B1440 #8D1F63 #BF2A86 #D84EA3

Accessibility & contrast

On white

8.37
#8D1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F63
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F63#FFFFFF#000000##FFFFFF
##8D1F631.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304165
Deuteranopia (green-blind)
#505461
Tritanopia (blue-blind)
#971A3E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1f63;
/* rgb */ color: rgb(141, 31, 99);
/* oklch */ color: oklch(44.4% 0.159 347.8);
Tailwind
colors: {
  custom: {
    50: '#b2678f',
    500: '#8d1f63',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f63;
$custom-light: #b2678f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f63",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 322.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.15923,
    "h": 347.8
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#8D1F63
secondary
#4DBB77
accent
#E78041
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8D1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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