#8C1F4E#8C1F4E

#8C1F4E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.149 H 359.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8C1F4E
RGBrgb(140, 31, 78)
HSLhsl(334, 64%, 34%)
HSVhsv(334, 78%, 55%)
CMYKcmyk(0%, 77.9%, 44.3%, 45.1%)
CIE-LABlab(32.05, 48.38, -0.61)
CIE-LCHlch(32.05, 48.39, 359.28°)
OKLaboklab(43.37% 0.1486 -0.001)
OKLCHoklch(43.37% 0.149 359.6)
XYZxyz(12.6813, 7.1071, 7.9103)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1F4E #1F8C5D
analogous
#8C1F84 #8C1F4E #8C261F
triadic
#8C1F4E #4E8C1F #1F4E8C
tetradic
#8C1F4E #848C1F #1F8C5D #261F8C
square
#8C1F4E #848C1F #1F8C5D #261F8C
split-complementary
#8C1F4E #1F8C26 #1F848C
monochromatic
#280916 #5A1432 #8C1F4E #BE2A6A #D84E89

Accessibility & contrast

On white

8.67
#8C1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1F4E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1F4E#FFFFFF#000000##FFFFFF
##8C1F4E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#55534B
Tritanopia (blue-blind)
#980B34
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8c1f4e;
/* rgb */ color: rgb(140, 31, 78);
/* oklch */ color: oklch(43.4% 0.149 359.6);
Tailwind
colors: {
  custom: {
    50: '#b2667f',
    500: '#8c1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8c1f4e;
$custom-light: #b2667f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1f4e",
  "rgb": {
    "r": 140,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 334.128,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.1486,
    "h": 359.6
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#8C1F4E
secondary
#4CBB8B
accent
#E79F41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8C1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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