#8D307A#8D307A

#8D307A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.1% C 0.153 H 336.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8D307A
RGBrgb(141, 48, 122)
HSLhsl(312, 49%, 37%)
HSVhsv(312, 66%, 55%)
CMYKcmyk(0%, 66%, 13.5%, 44.7%)
CIE-LABlab(36.33, 47.91, -22.24)
CIE-LCHlch(36.33, 52.82, 335.10°)
OKLaboklab(47.12% 0.1405 -0.0603)
OKLCHoklch(47.12% 0.153 336.8)
XYZxyz(15.5545, 9.1831, 19.3619)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D307A #308D43
analogous
#72308D #8D307A #8D304C
triadic
#8D307A #7A8D30 #307A8D
tetradic
#8D307A #8D7230 #308D43 #304C8D
square
#8D307A #8D7230 #308D43 #304C8D
split-complementary
#8D307A #4C8D30 #308D72
monochromatic
#32112B #5F2052 #8D307A #BB40A2 #CD6BB9

Accessibility & contrast

On white

7.40
#8D307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D307A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D307A#FFFFFF#000000##FFFFFF
##8D307A1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#4F5B78
Tritanopia (blue-blind)
#943550
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d307a;
/* rgb */ color: rgb(141, 48, 122);
/* oklch */ color: oklch(47.1% 0.153 336.8);
Tailwind
colors: {
  custom: {
    50: '#b16fa0',
    500: '#8d307a',
    950: '#000000',
  },
}
SCSS
$custom: #8d307a;
$custom-light: #b16fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d307a",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 312.258,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47118,
    "c": 0.15289,
    "h": 336.8
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#8D307A
secondary
#65B475
accent
#D96B4F
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8D307A

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

Preview Lab → · Contrast checker → · Palette generator →

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