#8D2040#8D2040

#8D2040 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.145 H 8.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8D2040
RGBrgb(141, 32, 64)
HSLhsl(342, 63%, 34%)
HSVhsv(342, 77%, 55%)
CMYKcmyk(0%, 77.3%, 54.6%, 44.7%)
CIE-LABlab(31.96, 47.05, 8.49)
CIE-LCHlch(31.96, 47.81, 10.23°)
OKLaboklab(43.21% 0.1431 0.0217)
OKLCHoklch(43.21% 0.145 8.6)
XYZxyz(12.4276, 7.0677, 5.5593)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2040 #208D6D
analogous
#8D2077 #8D2040 #8D3620
triadic
#8D2040 #408D20 #20408D
tetradic
#8D2040 #778D20 #208D6D #36208D
square
#8D2040 #778D20 #208D6D #36208D
split-complementary
#8D2040 #208D36 #20778D
monochromatic
#290913 #5B1529 #8D2040 #BF2B57 #D75078

Accessibility & contrast

On white

8.70
#8D2040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8D2040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2040
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2040#FFFFFF#000000##FFFFFF
##8D20401.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9A002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d2040;
/* rgb */ color: rgb(141, 32, 64);
/* oklch */ color: oklch(43.2% 0.145 8.6);
Tailwind
colors: {
  custom: {
    50: '#b46674',
    500: '#8d2040',
    950: '#000000',
  },
}
SCSS
$custom: #8d2040;
$custom-light: #b46674;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2040",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 342.385,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43209,
    "c": 0.14475,
    "h": 8.6
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#8D2040
secondary
#4EBA9B
accent
#E6B642
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D2040

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

Preview Lab → · Contrast checker → · Palette generator →

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