#8D1A42#8D1A42

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

Color values

HEX#8D1A42
RGBrgb(141, 26, 66)
HSLhsl(339, 69%, 33%)
HSVhsv(339, 82%, 55%)
CMYKcmyk(0%, 81.6%, 53.2%, 44.7%)
CIE-LABlab(31.34, 49.12, 6.30)
CIE-LCHlch(31.34, 49.52, 7.31°)
OKLaboklab(42.77% 0.15 0.0164)
OKLCHoklch(42.77% 0.151 6.2)
XYZxyz(12.3384, 6.7966, 5.8154)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A42 #1A8D65
analogous
#8D1A7C #8D1A42 #8D2B1A
triadic
#8D1A42 #428D1A #1A428D
tetradic
#8D1A42 #7C8D1A #1A8D65 #2B1A8D
square
#8D1A42 #7C8D1A #1A8D65 #2B1A8D
split-complementary
#8D1A42 #1A8D2B #1A7C8D
monochromatic
#260712 #59102A #8D1A42 #C1245A #DD457A

Accessibility & contrast

On white

8.90
#8D1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8D1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A42
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A42#FFFFFF#000000##FFFFFF
##8D1A421.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9A002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1a42;
/* rgb */ color: rgb(141, 26, 66);
/* oklch */ color: oklch(42.8% 0.151 6.2);
Tailwind
colors: {
  custom: {
    50: '#b46476',
    500: '#8d1a42',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a42;
$custom-light: #b46476;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a42",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 339.13,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.15093,
    "h": 6.2
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#8D1A42
secondary
#45BE94
accent
#ECAF3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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