#8D306C#8D306C

#8D306C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.143 H 344.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8D306C
RGBrgb(141, 48, 108)
HSLhsl(321, 49%, 37%)
HSVhsv(321, 66%, 55%)
CMYKcmyk(0%, 66%, 23.4%, 44.7%)
CIE-LABlab(35.71, 45.77, -14.40)
CIE-LCHlch(35.71, 47.99, 342.54°)
OKLaboklab(46.46% 0.1377 -0.0383)
OKLCHoklch(46.46% 0.143 344.5)
XYZxyz(14.7487, 8.8608, 15.1180)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D306C #308D51
analogous
#7F308D #8D306C #8D303E
triadic
#8D306C #6C8D30 #306C8D
tetradic
#8D306C #8D7F30 #308D51 #303E8D
square
#8D306C #8D7F30 #308D51 #303E8D
split-complementary
#8D306C #3E8D30 #308D7F
monochromatic
#321126 #5F2049 #8D306C #BB408F #CD6BAA

Accessibility & contrast

On white

7.58
#8D306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D306C
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D306C#FFFFFF#000000##FFFFFF
##8D306C1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#545A6A
Tritanopia (blue-blind)
#962F49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d306c;
/* rgb */ color: rgb(141, 48, 108);
/* oklch */ color: oklch(46.5% 0.143 344.5);
Tailwind
colors: {
  custom: {
    50: '#b16f96',
    500: '#8d306c',
    950: '#000000',
  },
}
SCSS
$custom: #8d306c;
$custom-light: #b16f96;
$custom-dark: #000000;
JSON
{
  "hex": "#8d306c",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 321.29,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.14291,
    "h": 344.5
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#8D306C
secondary
#65B481
accent
#D9804F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8D306C

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

Preview Lab → · Contrast checker → · Palette generator →

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