#8D1C40#8D1C40

#8D1C40 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.149 H 7.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8D1C40
RGBrgb(141, 28, 64)
HSLhsl(341, 67%, 33%)
HSVhsv(341, 80%, 55%)
CMYKcmyk(0%, 80.1%, 54.6%, 44.7%)
CIE-LABlab(31.50, 48.35, 7.85)
CIE-LCHlch(31.50, 48.99, 9.22°)
OKLaboklab(42.87% 0.1473 0.0201)
OKLCHoklch(42.87% 0.149 7.8)
XYZxyz(12.3263, 6.8652, 5.5255)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C40 #1C8D69
analogous
#8D1C78 #8D1C40 #8D301C
triadic
#8D1C40 #408D1C #1C408D
tetradic
#8D1C40 #788D1C #1C8D69 #301C8D
square
#8D1C40 #788D1C #1C8D69 #301C8D
split-complementary
#8D1C40 #1C8D30 #1C788D
monochromatic
#270812 #5A1229 #8D1C40 #C02657 #DB4977

Accessibility & contrast

On white

8.85
#8D1C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8D1C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C40
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C40#FFFFFF#000000##FFFFFF
##8D1C401.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9A002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1c40;
/* rgb */ color: rgb(141, 28, 64);
/* oklch */ color: oklch(42.9% 0.149 7.8);
Tailwind
colors: {
  custom: {
    50: '#b46474',
    500: '#8d1c40',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c40;
$custom-light: #b46474;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c40",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 340.885,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.14868,
    "h": 7.8
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#8D1C40
secondary
#48BD98
accent
#EAB33E
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1C40

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

Preview Lab → · Contrast checker → · Palette generator →

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