#8D0F42#8D0F42

#8D0F42 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.159 H 4.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#8D0F42
RGBrgb(141, 15, 66)
HSLhsl(336, 81%, 31%)
HSVhsv(336, 89%, 55%)
CMYKcmyk(0%, 89.4%, 53.2%, 44.7%)
CIE-LABlab(30.40, 51.81, 4.97)
CIE-LCHlch(30.40, 52.05, 5.48°)
OKLaboklab(42.08% 0.1588 0.0131)
OKLCHoklch(42.08% 0.159 4.7)
XYZxyz(12.1398, 6.3995, 5.7492)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D0F42 #0F8D5A
analogous
#8D0F81 #8D0F42 #8D1B0F
triadic
#8D0F42 #428D0F #0F428D
tetradic
#8D0F42 #818D0F #0F8D5A #1B0F8D
square
#8D0F42 #818D0F #0F8D5A #1B0F8D
split-complementary
#8D0F42 #0F8D1B #0F818D
monochromatic
#1E030E #560928 #8D0F42 #C4155C #E92E79

Accessibility & contrast

On white

9.21
#8D0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D0F42
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D0F42#FFFFFF#000000##FFFFFF
##8D0F421.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#54503F
Tritanopia (blue-blind)
#9A0028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d0f42;
/* rgb */ color: rgb(141, 15, 66);
/* oklch */ color: oklch(42.1% 0.159 4.7);
Tailwind
colors: {
  custom: {
    50: '#b46076',
    500: '#8d0f42',
    950: '#000000',
  },
}
SCSS
$custom: #8d0f42;
$custom-light: #b46076;
$custom-dark: #000000;
JSON
{
  "hex": "#8d0f42",
  "rgb": {
    "r": 141,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 335.714,
    "s": 80.769,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42078,
    "c": 0.15929,
    "h": 4.7
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#8D0F42
secondary
#36C289
accent
#F7A731
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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