#8D1F47#8D1F47

#8D1F47 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.147 H 4.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8D1F47
RGBrgb(141, 31, 71)
HSLhsl(338, 64%, 34%)
HSVhsv(338, 78%, 55%)
CMYKcmyk(0%, 78%, 49.6%, 44.7%)
CIE-LABlab(32.03, 48.00, 3.99)
CIE-LCHlch(32.03, 48.16, 4.75°)
OKLaboklab(43.32% 0.1469 0.0107)
OKLCHoklch(43.32% 0.147 4.2)
XYZxyz(12.6129, 7.0993, 6.6662)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F47 #1F8D65
analogous
#8D1F7E #8D1F47 #8D2E1F
triadic
#8D1F47 #478D1F #1F478D
tetradic
#8D1F47 #7E8D1F #1F8D65 #2E1F8D
square
#8D1F47 #7E8D1F #1F8D65 #2E1F8D
split-complementary
#8D1F47 #1F8D2E #1F7E8D
monochromatic
#290914 #5B142E #8D1F47 #BF2A60 #D84E80

Accessibility & contrast

On white

8.68
#8D1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8D1F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F47
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F47#FFFFFF#000000##FFFFFF
##8D1F471.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9A0430
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1f47;
/* rgb */ color: rgb(141, 31, 71);
/* oklch */ color: oklch(43.3% 0.147 4.2);
Tailwind
colors: {
  custom: {
    50: '#b4667a',
    500: '#8d1f47',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f47;
$custom-light: #b4667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f47",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 338.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.14732,
    "h": 4.2
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#8D1F47
secondary
#4DBB93
accent
#E7AB41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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