#8D2147#8D2147

#8D2147 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.145 H 4.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8D2147
RGBrgb(141, 33, 71)
HSLhsl(339, 62%, 34%)
HSVhsv(339, 77%, 55%)
CMYKcmyk(0%, 76.6%, 49.6%, 44.7%)
CIE-LABlab(32.27, 47.32, 4.33)
CIE-LCHlch(32.27, 47.52, 5.23°)
OKLaboklab(43.5% 0.1447 0.0115)
OKLCHoklch(43.5% 0.145 4.6)
XYZxyz(12.6668, 7.2071, 6.6841)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2147 #218D67
analogous
#8D217D #8D2147 #8D3121
triadic
#8D2147 #478D21 #21478D
tetradic
#8D2147 #7D8D21 #218D67 #31218D
square
#8D2147 #7D8D21 #218D67 #31218D
split-complementary
#8D2147 #218D31 #217D8D
monochromatic
#2A0A15 #5B152E #8D2147 #BF2D60 #D65281

Accessibility & contrast

On white

8.60
#8D2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8D2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2147
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2147#FFFFFF#000000##FFFFFF
##8D21471.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E48
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#9A0831
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d2147;
/* rgb */ color: rgb(141, 33, 71);
/* oklch */ color: oklch(43.5% 0.145 4.6);
Tailwind
colors: {
  custom: {
    50: '#b4677a',
    500: '#8d2147',
    950: '#000000',
  },
}
SCSS
$custom: #8d2147;
$custom-light: #b4677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2147",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 338.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43502,
    "c": 0.1452,
    "h": 4.6
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#8D2147
secondary
#50BA95
accent
#E5AC43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D2147

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

Preview Lab → · Contrast checker → · Palette generator →

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