#8D1038#8D1038

#8D1038 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.157 H 10.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#8D1038
RGBrgb(141, 16, 56)
HSLhsl(341, 80%, 31%)
HSVhsv(341, 89%, 55%)
CMYKcmyk(0%, 88.7%, 60.3%, 44.7%)
CIE-LABlab(30.21, 50.86, 11.38)
CIE-LCHlch(30.21, 52.11, 12.61°)
OKLaboklab(41.85% 0.1542 0.0283)
OKLCHoklch(41.85% 0.157 10.4)
XYZxyz(11.8848, 6.3206, 4.3348)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1038 #108D65
analogous
#8D1076 #8D1038 #8D2610
triadic
#8D1038 #388D10 #10388D
tetradic
#8D1038 #768D10 #108D65 #26108D
square
#8D1038 #768D10 #108D65 #26108D
split-complementary
#8D1038 #108D26 #10768D
monochromatic
#1F040C #560A22 #8D1038 #C4164E #E7306B

Accessibility & contrast

On white

9.28
#8D1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8D1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1038
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1038#FFFFFF#000000##FFFFFF
##8D10381.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373739
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#9B0023
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8d1038;
/* rgb */ color: rgb(141, 16, 56);
/* oklch */ color: oklch(41.9% 0.157 10.4);
Tailwind
colors: {
  custom: {
    50: '#b5606e',
    500: '#8d1038',
    950: '#000000',
  },
}
SCSS
$custom: #8d1038;
$custom-light: #b5606e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1038",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 340.8,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41853,
    "c": 0.15674,
    "h": 10.4
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#8D1038
secondary
#37C295
accent
#F6B732
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D1038

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

Preview Lab → · Contrast checker → · Palette generator →

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