#8D1538#8D1538

#8D1538 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.153 H 11.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#8D1538
RGBrgb(141, 21, 56)
HSLhsl(343, 74%, 32%)
HSVhsv(343, 85%, 55%)
CMYKcmyk(0%, 85.1%, 60.3%, 44.7%)
CIE-LABlab(30.61, 49.71, 11.92)
CIE-LCHlch(30.61, 51.12, 13.49°)
OKLaboklab(42.15% 0.1504 0.0296)
OKLCHoklch(42.15% 0.153 11.1)
XYZxyz(11.9677, 6.4864, 4.3624)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1538 #158D6A
analogous
#8D1574 #8D1538 #8D2E15
triadic
#8D1538 #388D15 #15388D
tetradic
#8D1538 #748D15 #158D6A #2E158D
square
#8D1538 #748D15 #158D6A #2E158D
split-complementary
#8D1538 #158D2E #15748D
monochromatic
#22050E #580D23 #8D1538 #C21D4D #E23B6B

Accessibility & contrast

On white

9.14
#8D1538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8D1538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1538
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1538#FFFFFF#000000##FFFFFF
##8D15381.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#9B0025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d1538;
/* rgb */ color: rgb(141, 21, 56);
/* oklch */ color: oklch(42.1% 0.153 11.1);
Tailwind
colors: {
  custom: {
    50: '#b5626e',
    500: '#8d1538',
    950: '#000000',
  },
}
SCSS
$custom: #8d1538;
$custom-light: #b5626e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1538",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 342.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42147,
    "c": 0.15333,
    "h": 11.1
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#8D1538
secondary
#3DC19A
accent
#F1BB37
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D1538

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

Preview Lab → · Contrast checker → · Palette generator →

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