#8D1A40#8D1A40

#8D1A40 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.151 H 7.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8D1A40
RGBrgb(141, 26, 64)
HSLhsl(340, 69%, 33%)
HSVhsv(340, 82%, 55%)
CMYKcmyk(0%, 81.6%, 54.6%, 44.7%)
CIE-LABlab(31.29, 48.96, 7.55)
CIE-LCHlch(31.29, 49.53, 8.77°)
OKLaboklab(42.71% 0.1493 0.0194)
OKLCHoklch(42.71% 0.151 7.4)
XYZxyz(12.2805, 6.7734, 5.5103)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A40 #1A8D67
analogous
#8D1A79 #8D1A40 #8D2E1A
triadic
#8D1A40 #408D1A #1A408D
tetradic
#8D1A40 #798D1A #1A8D67 #2E1A8D
square
#8D1A40 #798D1A #1A8D67 #2E1A8D
split-complementary
#8D1A40 #1A8D2E #1A798D
monochromatic
#260711 #591029 #8D1A40 #C12457 #DD4577

Accessibility & contrast

On white

8.92
#8D1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8D1A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A40
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A40#FFFFFF#000000##FFFFFF
##8D1A401.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9A002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1a40;
/* rgb */ color: rgb(141, 26, 64);
/* oklch */ color: oklch(42.7% 0.151 7.4);
Tailwind
colors: {
  custom: {
    50: '#b46474',
    500: '#8d1a40',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a40;
$custom-light: #b46474;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a40",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 340.174,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.15052,
    "h": 7.4
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#8D1A40
secondary
#45BE96
accent
#ECB23C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1A40

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

Preview Lab → · Contrast checker → · Palette generator →

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