#8D307D#8D307D

#8D307D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.155 H 335.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8D307D
RGBrgb(141, 48, 125)
HSLhsl(310, 49%, 37%)
HSVhsv(310, 66%, 55%)
CMYKcmyk(0%, 66%, 11.3%, 44.7%)
CIE-LABlab(36.48, 48.40, -23.88)
CIE-LCHlch(36.48, 53.97, 333.74°)
OKLaboklab(47.27% 0.1409 -0.065)
OKLCHoklch(47.27% 0.155 335.2)
XYZxyz(15.7433, 9.2586, 20.3560)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D307D #308D40
analogous
#6F308D #8D307D #8D304E
triadic
#8D307D #7D8D30 #307D8D
tetradic
#8D307D #8D6F30 #308D40 #304E8D
square
#8D307D #8D6F30 #308D40 #304E8D
split-complementary
#8D307D #4E8D30 #308D6F
monochromatic
#32112C #5F2055 #8D307D #BB40A5 #CD6BBC

Accessibility & contrast

On white

7.36
#8D307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D307D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D307D#FFFFFF#000000##FFFFFF
##8D307D1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#943652
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d307d;
/* rgb */ color: rgb(141, 48, 125);
/* oklch */ color: oklch(47.3% 0.155 335.2);
Tailwind
colors: {
  custom: {
    50: '#b16fa3',
    500: '#8d307d',
    950: '#000000',
  },
}
SCSS
$custom: #8d307d;
$custom-light: #b16fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d307d",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 310.323,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.15521,
    "h": 335.2
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D307D

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

Preview Lab → · Contrast checker → · Palette generator →

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