#8C2D64#8C2D64

#8C2D64 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.141 H 348.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8C2D64
RGBrgb(140, 45, 100)
HSLhsl(325, 51%, 36%)
HSVhsv(325, 68%, 55%)
CMYKcmyk(0%, 67.9%, 28.6%, 45.1%)
CIE-LABlab(34.75, 45.65, -10.81)
CIE-LCHlch(34.75, 46.91, 346.68°)
OKLaboklab(45.61% 0.1386 -0.0284)
OKLCHoklch(45.61% 0.141 348.4)
XYZxyz(14.0545, 8.3738, 12.9303)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2D64 #2D8C55
analogous
#852D8C #8C2D64 #8C2D35
triadic
#8C2D64 #648C2D #2D648C
tetradic
#8C2D64 #8C852D #2D8C55 #2D358C
square
#8C2D64 #8C852D #2D8C55 #2D358C
split-complementary
#8C2D64 #358C2D #2D8C85
monochromatic
#2F0F22 #5E1E43 #8C2D64 #BA3C85 #CE66A2

Accessibility & contrast

On white

7.85
#8C2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8C2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2D64
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2D64#FFFFFF#000000##FFFFFF
##8C2D641.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394766
Deuteranopia (green-blind)
#555862
Tritanopia (blue-blind)
#962A44
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8c2d64;
/* rgb */ color: rgb(140, 45, 100);
/* oklch */ color: oklch(45.6% 0.141 348.4);
Tailwind
colors: {
  custom: {
    50: '#b16d90',
    500: '#8c2d64',
    950: '#000000',
  },
}
SCSS
$custom: #8c2d64;
$custom-light: #b16d90;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2d64",
  "rgb": {
    "r": 140,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 325.263,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.14145,
    "h": 348.4
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#8C2D64
secondary
#60B484
accent
#DB894D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8C2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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