#8D307C#8D307C

#8D307C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.154 H 335.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8D307C
RGBrgb(141, 48, 124)
HSLhsl(311, 49%, 37%)
HSVhsv(311, 66%, 55%)
CMYKcmyk(0%, 66%, 12.1%, 44.7%)
CIE-LABlab(36.43, 48.23, -23.33)
CIE-LCHlch(36.43, 53.58, 334.18°)
OKLaboklab(47.22% 0.1408 -0.0635)
OKLCHoklch(47.22% 0.154 335.7)
XYZxyz(15.6797, 9.2332, 20.0212)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D307C #308D41
analogous
#70308D #8D307C #8D304E
triadic
#8D307C #7C8D30 #307C8D
tetradic
#8D307C #8D7030 #308D41 #304E8D
square
#8D307C #8D7030 #308D41 #304E8D
split-complementary
#8D307C #4E8D30 #308D70
monochromatic
#32112C #5F2054 #8D307C #BB40A4 #CD6BBB

Accessibility & contrast

On white

7.38
#8D307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D307C
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D307C#FFFFFF#000000##FFFFFF
##8D307C1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#943651
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d307c;
/* rgb */ color: rgb(141, 48, 124);
/* oklch */ color: oklch(47.2% 0.154 335.7);
Tailwind
colors: {
  custom: {
    50: '#b16fa2',
    500: '#8d307c',
    950: '#000000',
  },
}
SCSS
$custom: #8d307c;
$custom-light: #b16fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d307c",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 310.968,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.15444,
    "h": 335.7
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#8D307C
secondary
#65B473
accent
#D9684F
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D307C

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

Preview Lab → · Contrast checker → · Palette generator →

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