#8C3153#8C3153

#8C3153 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.5% C 0.128 H 0.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8C3153
RGBrgb(140, 49, 83)
HSLhsl(338, 48%, 37%)
HSVhsv(338, 65%, 55%)
CMYKcmyk(0%, 65%, 40.7%, 45.1%)
CIE-LABlab(34.80, 41.76, 0.16)
CIE-LCHlch(34.80, 41.76, 0.22°)
OKLaboklab(45.45% 0.1276 0.0009)
OKLCHoklch(45.45% 0.128 0.4)
XYZxyz(13.4757, 8.3982, 9.0933)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3153 #318C6A
analogous
#8C3181 #8C3153 #8C3C31
triadic
#8C3153 #538C31 #31538C
tetradic
#8C3153 #818C31 #318C6A #3C318C
square
#8C3153 #818C31 #318C6A #3C318C
split-complementary
#8C3153 #318C3C #31818C
monochromatic
#31111D #5F2138 #8C3153 #B9416E #CC6C90

Accessibility & contrast

On white

7.84
#8C3153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8C3153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C3153
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3153#FFFFFF#000000##FFFFFF
##8C31531.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424754
Deuteranopia (green-blind)
#5A5851
Tritanopia (blue-blind)
#97283E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8c3153;
/* rgb */ color: rgb(140, 49, 83);
/* oklch */ color: oklch(45.5% 0.128 0.4);
Tailwind
colors: {
  custom: {
    50: '#b16f83',
    500: '#8c3153',
    950: '#000000',
  },
}
SCSS
$custom: #8c3153;
$custom-light: #b16f83;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3153",
  "rgb": {
    "r": 140,
    "g": 49,
    "b": 83
  },
  "hsl": {
    "h": 337.582,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45453,
    "c": 0.12762,
    "h": 0.4
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#8C3153
secondary
#66B396
accent
#D8A550
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8C3153

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

Preview Lab → · Contrast checker → · Palette generator →

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