#8D1239#8D1239

#8D1239 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.156 H 10.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#8D1239
RGBrgb(141, 18, 57)
HSLhsl(341, 77%, 31%)
HSVhsv(341, 87%, 55%)
CMYKcmyk(0%, 87.2%, 59.6%, 44.7%)
CIE-LABlab(30.38, 50.50, 10.95)
CIE-LCHlch(30.38, 51.67, 12.23°)
OKLaboklab(41.99% 0.1532 0.0274)
OKLCHoklch(41.99% 0.156 10.1)
XYZxyz(11.9406, 6.3926, 4.4753)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1239 #128D66
analogous
#8D1276 #8D1239 #8D2912
triadic
#8D1239 #398D12 #12398D
tetradic
#8D1239 #768D12 #128D66 #29128D
square
#8D1239 #768D12 #128D66 #29128D
split-complementary
#8D1239 #128D29 #12768D
monochromatic
#20040D #570B23 #8D1239 #C3194F #E5346C

Accessibility & contrast

On white

9.22
#8D1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8D1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1239
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1239#FFFFFF#000000##FFFFFF
##8D12391.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383A
Deuteranopia (green-blind)
#565036
Tritanopia (blue-blind)
#9B0024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d1239;
/* rgb */ color: rgb(141, 18, 57);
/* oklch */ color: oklch(42.0% 0.156 10.1);
Tailwind
colors: {
  custom: {
    50: '#b5616f',
    500: '#8d1239',
    950: '#000000',
  },
}
SCSS
$custom: #8d1239;
$custom-light: #b5616f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1239",
  "rgb": {
    "r": 141,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 340.976,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41989,
    "c": 0.15559,
    "h": 10.1
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#8D1239
secondary
#39C196
accent
#F4B734
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D1239

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

Preview Lab → · Contrast checker → · Palette generator →

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