#8C3166#8C3166

#8C3166 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.137 H 347.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8C3166
RGBrgb(140, 49, 102)
HSLhsl(325, 48%, 37%)
HSVhsv(325, 65%, 55%)
CMYKcmyk(0%, 65%, 27.1%, 45.1%)
CIE-LABlab(35.46, 44.18, -11.00)
CIE-LCHlch(35.46, 45.53, 346.02°)
OKLaboklab(46.17% 0.1337 -0.0289)
OKLCHoklch(46.17% 0.137 347.8)
XYZxyz(14.3124, 8.7328, 13.4996)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3166 #318C57
analogous
#85318C #8C3166 #8C3139
triadic
#8C3166 #668C31 #31668C
tetradic
#8C3166 #8C8531 #318C57 #31398C
square
#8C3166 #8C8531 #318C57 #31398C
split-complementary
#8C3166 #398C31 #318C85
monochromatic
#311124 #5F2145 #8C3166 #B94187 #CC6CA4

Accessibility & contrast

On white

7.65
#8C3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8C3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C3166
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3166#FFFFFF#000000##FFFFFF
##8C31661.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4968
Deuteranopia (green-blind)
#565964
Tritanopia (blue-blind)
#962E47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8c3166;
/* rgb */ color: rgb(140, 49, 102);
/* oklch */ color: oklch(46.2% 0.137 347.8);
Tailwind
colors: {
  custom: {
    50: '#b16f91',
    500: '#8c3166',
    950: '#000000',
  },
}
SCSS
$custom: #8c3166;
$custom-light: #b16f91;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3166",
  "rgb": {
    "r": 140,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 325.055,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.13681,
    "h": 347.8
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#8C3166
secondary
#66B386
accent
#D88950
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8C3166

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

Preview Lab → · Contrast checker → · Palette generator →

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