#8C185E#8C185E

#8C185E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.163 H 349.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8C185E
RGBrgb(140, 24, 94)
HSLhsl(324, 71%, 32%)
HSVhsv(324, 83%, 55%)
CMYKcmyk(0%, 82.9%, 32.9%, 45.1%)
CIE-LABlab(31.89, 52.25, -11.28)
CIE-LCHlch(31.89, 53.45, 347.82°)
OKLaboklab(43.45% 0.16 -0.0295)
OKLCHoklch(43.45% 0.163 349.6)
XYZxyz(13.1630, 7.0385, 11.2529)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C185E #188C46
analogous
#80188C #8C185E #8C1824
triadic
#8C185E #5E8C18 #185E8C
tetradic
#8C185E #8C8018 #188C46 #18248C
square
#8C185E #8C8018 #188C46 #18248C
split-complementary
#8C185E #248C18 #188C80
monochromatic
#240618 #580F3B #8C185E #C02181 #DE40A0

Accessibility & contrast

On white

8.72
#8C185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8C185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C185E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C185E#FFFFFF#000000##FFFFFF
##8C185E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#4F525B
Tritanopia (blue-blind)
#970E39
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8c185e;
/* rgb */ color: rgb(140, 24, 94);
/* oklch */ color: oklch(43.4% 0.163 349.6);
Tailwind
colors: {
  custom: {
    50: '#b2648b',
    500: '#8c185e',
    950: '#000000',
  },
}
SCSS
$custom: #8c185e;
$custom-light: #b2648b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c185e",
  "rgb": {
    "r": 140,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 323.793,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43448,
    "c": 0.16273,
    "h": 349.6
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#8C185E
secondary
#41BF73
accent
#ED813A
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8C185E

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

Preview Lab → · Contrast checker → · Palette generator →

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