#8D1236#8D1236

#8D1236 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.155 H 11.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#8D1236
RGBrgb(141, 18, 54)
HSLhsl(342, 77%, 31%)
HSVhsv(342, 87%, 55%)
CMYKcmyk(0%, 87.2%, 61.7%, 44.7%)
CIE-LABlab(30.31, 50.29, 12.85)
CIE-LCHlch(30.31, 51.91, 14.34°)
OKLaboklab(41.92% 0.1519 0.0317)
OKLCHoklch(41.92% 0.155 11.8)
XYZxyz(11.8679, 6.3635, 4.0927)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1236 #128D69
analogous
#8D1273 #8D1236 #8D2B12
triadic
#8D1236 #368D12 #12368D
tetradic
#8D1236 #738D12 #128D69 #2B128D
square
#8D1236 #738D12 #128D69 #2B128D
split-complementary
#8D1236 #128D2B #12738D
monochromatic
#20040C #570B21 #8D1236 #C3194B #E53468

Accessibility & contrast

On white

9.24
#8D1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8D1236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1236
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1236#FFFFFF#000000##FFFFFF
##8D12361.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1236;
/* rgb */ color: rgb(141, 18, 54);
/* oklch */ color: oklch(41.9% 0.155 11.8);
Tailwind
colors: {
  custom: {
    50: '#b5616c',
    500: '#8d1236',
    950: '#000000',
  },
}
SCSS
$custom: #8d1236;
$custom-light: #b5616c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1236",
  "rgb": {
    "r": 141,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 342.439,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41915,
    "c": 0.15522,
    "h": 11.8
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#8D1236
secondary
#39C19A
accent
#F4BC34
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D1236

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

Preview Lab → · Contrast checker → · Palette generator →

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