#8C2175#8C2175

#8C2175 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.168 H 338.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8C2175
RGBrgb(140, 33, 117)
HSLhsl(313, 62%, 34%)
HSVhsv(313, 76%, 55%)
CMYKcmyk(0%, 76.4%, 16.4%, 45.1%)
CIE-LABlab(33.88, 52.61, -22.94)
CIE-LCHlch(33.88, 57.40, 336.44°)
OKLaboklab(45.22% 0.1558 -0.0622)
OKLCHoklch(45.22% 0.168 338.2)
XYZxyz(14.5703, 7.9489, 17.5931)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2175 #218C38
analogous
#6E218C #8C2175 #8C2140
triadic
#8C2175 #758C21 #21758C
tetradic
#8C2175 #8C6E21 #218C38 #21408C
square
#8C2175 #8C6E21 #218C38 #21408C
split-complementary
#8C2175 #408C21 #218C6E
monochromatic
#290A22 #5A154C #8C2175 #BE2D9E #D651BA

Accessibility & contrast

On white

8.11
#8C2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8C2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2175
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2175#FFFFFF#000000##FFFFFF
##8C21751.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264577
Deuteranopia (green-blind)
#4A5673
Tritanopia (blue-blind)
#942749
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c2175;
/* rgb */ color: rgb(140, 33, 117);
/* oklch */ color: oklch(45.2% 0.168 338.2);
Tailwind
colors: {
  custom: {
    50: '#b1689d',
    500: '#8c2175',
    950: '#000000',
  },
}
SCSS
$custom: #8c2175;
$custom-light: #b1689d;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2175",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 312.897,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.16782,
    "h": 338.2
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#8C2175
secondary
#4FB966
accent
#E56643
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8C2175

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

Preview Lab → · Contrast checker → · Palette generator →

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