#8D2540#8D2540

#8D2540 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.139 H 9.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8D2540
RGBrgb(141, 37, 64)
HSLhsl(344, 58%, 35%)
HSVhsv(344, 74%, 55%)
CMYKcmyk(0%, 73.8%, 54.6%, 44.7%)
CIE-LABlab(32.61, 45.24, 9.40)
CIE-LCHlch(32.61, 46.21, 11.73°)
OKLaboklab(43.69% 0.1373 0.0239)
OKLCHoklch(43.69% 0.139 9.9)
XYZxyz(12.5726, 7.3577, 5.6076)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2540 #258D72
analogous
#8D2574 #8D2540 #8D3E25
triadic
#8D2540 #408D25 #25408D
tetradic
#8D2540 #748D25 #258D72 #3E258D
square
#8D2540 #748D25 #258D72 #3E258D
split-complementary
#8D2540 #258D3E #25748D
monochromatic
#2C0C14 #5D182A #8D2540 #BD3256 #D35979

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2540#FFFFFF#000000##FFFFFF
##8D25401.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)
#3F3F40
Deuteranopia (green-blind)
#5A543D
Tritanopia (blue-blind)
#9A0D30
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d2540;
/* rgb */ color: rgb(141, 37, 64);
/* oklch */ color: oklch(43.7% 0.139 9.9);
Tailwind
colors: {
  custom: {
    50: '#b46874',
    500: '#8d2540',
    950: '#000000',
  },
}
SCSS
$custom: #8d2540;
$custom-light: #b46874;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2540",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 344.423,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43687,
    "c": 0.13937,
    "h": 9.9
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#8D2540
secondary
#56B89F
accent
#E2B946
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8D2540

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

Preview Lab → · Contrast checker → · Palette generator →

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