#8D1540#8D1540

#8D1540 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.155 H 6.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#8D1540
RGBrgb(141, 21, 64)
HSLhsl(339, 74%, 32%)
HSVhsv(339, 85%, 55%)
CMYKcmyk(0%, 85.1%, 54.6%, 44.7%)
CIE-LABlab(30.81, 50.31, 6.88)
CIE-LCHlch(30.81, 50.78, 7.79°)
OKLaboklab(42.36% 0.1536 0.0177)
OKLCHoklch(42.36% 0.155 6.6)
XYZxyz(12.1792, 6.5710, 5.4765)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1540 #158D62
analogous
#8D157C #8D1540 #8D2615
triadic
#8D1540 #408D15 #15408D
tetradic
#8D1540 #7C8D15 #158D62 #26158D
square
#8D1540 #7C8D15 #158D62 #26158D
split-complementary
#8D1540 #158D26 #157C8D
monochromatic
#220510 #580D28 #8D1540 #C21D58 #E23B77

Accessibility & contrast

On white

9.08
#8D1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8D1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1540
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1540#FFFFFF#000000##FFFFFF
##8D15401.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#9A0029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d1540;
/* rgb */ color: rgb(141, 21, 64);
/* oklch */ color: oklch(42.4% 0.155 6.6);
Tailwind
colors: {
  custom: {
    50: '#b46274',
    500: '#8d1540',
    950: '#000000',
  },
}
SCSS
$custom: #8d1540;
$custom-light: #b46274;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1540",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 338.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.15466,
    "h": 6.6
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#8D1540
secondary
#3DC192
accent
#F1AE37
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1540

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

Preview Lab → · Contrast checker → · Palette generator →

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