#8D2148#8D2148

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

Color values

HEX#8D2148
RGBrgb(141, 33, 72)
HSLhsl(338, 62%, 34%)
HSVhsv(338, 77%, 55%)
CMYKcmyk(0%, 76.6%, 48.9%, 44.7%)
CIE-LABlab(32.30, 47.41, 3.72)
CIE-LCHlch(32.30, 47.56, 4.49°)
OKLaboklab(43.53% 0.1451 0.01)
OKLCHoklch(43.53% 0.145 3.9)
XYZxyz(12.6991, 7.2200, 6.8545)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2148 #218D66
analogous
#8D217E #8D2148 #8D3021
triadic
#8D2148 #488D21 #21488D
tetradic
#8D2148 #7E8D21 #218D66 #30218D
square
#8D2148 #7E8D21 #218D66 #30218D
split-complementary
#8D2148 #218D30 #217E8D
monochromatic
#2A0A15 #5B152F #8D2148 #BF2D61 #D65282

Accessibility & contrast

On white

8.59
#8D2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2148
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2148#FFFFFF#000000##FFFFFF
##8D21481.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E49
Deuteranopia (green-blind)
#575445
Tritanopia (blue-blind)
#9A0932
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d2148;
/* rgb */ color: rgb(141, 33, 72);
/* oklch */ color: oklch(43.5% 0.145 3.9);
Tailwind
colors: {
  custom: {
    50: '#b4677a',
    500: '#8d2148',
    950: '#000000',
  },
}
SCSS
$custom: #8d2148;
$custom-light: #b4677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2148",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 338.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43533,
    "c": 0.14546,
    "h": 3.9
  },
  "luminance": 0.07218
}

Semantic roles & 50–950 ramp

primary
#8D2148
secondary
#50BA94
accent
#E5AA43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D2148

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

Preview Lab → · Contrast checker → · Palette generator →

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