#8D1838#8D1838

#8D1838 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 11.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8D1838
RGBrgb(141, 24, 56)
HSLhsl(344, 71%, 32%)
HSVhsv(344, 83%, 55%)
CMYKcmyk(0%, 83%, 60.3%, 44.7%)
CIE-LABlab(30.89, 48.92, 12.30)
CIE-LCHlch(30.89, 50.44, 14.11°)
OKLaboklab(42.35% 0.1479 0.0305)
OKLCHoklch(42.35% 0.151 11.7)
XYZxyz(12.0262, 6.6033, 4.3819)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1838 #188D6D
analogous
#8D1872 #8D1838 #8D3318
triadic
#8D1838 #388D18 #18388D
tetradic
#8D1838 #728D18 #188D6D #33188D
square
#8D1838 #728D18 #188D6D #33188D
split-complementary
#8D1838 #188D33 #18728D
monochromatic
#24060E #590F23 #8D1838 #C1214D #DF416C

Accessibility & contrast

On white

9.05
#8D1838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8D1838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1838
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1838#FFFFFF#000000##FFFFFF
##8D18381.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3938
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#9B0026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1838;
/* rgb */ color: rgb(141, 24, 56);
/* oklch */ color: oklch(42.4% 0.151 11.7);
Tailwind
colors: {
  custom: {
    50: '#b5636e',
    500: '#8d1838',
    950: '#000000',
  },
}
SCSS
$custom: #8d1838;
$custom-light: #b5636e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1838",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 343.59,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.15099,
    "h": 11.7
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#8D1838
secondary
#42BF9D
accent
#EEBD3A
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D1838

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

Preview Lab → · Contrast checker → · Palette generator →

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