#8D305E#8D305E

#8D305E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.135 H 353.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8D305E
RGBrgb(141, 48, 94)
HSLhsl(330, 49%, 37%)
HSVhsv(330, 66%, 55%)
CMYKcmyk(0%, 66%, 33.3%, 44.7%)
CIE-LABlab(35.18, 43.87, -6.32)
CIE-LCHlch(35.18, 44.32, 351.81°)
OKLaboklab(45.89% 0.1338 -0.0162)
OKLCHoklch(45.89% 0.135 353.1)
XYZxyz(14.0626, 8.5863, 11.5042)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D305E #308D5F
analogous
#8D308C #8D305E #8D3130
triadic
#8D305E #5E8D30 #305E8D
tetradic
#8D305E #8C8D30 #308D5F #31308D
square
#8D305E #8C8D30 #308D5F #31308D
split-complementary
#8D305E #308D31 #308C8D
monochromatic
#321121 #5F2040 #8D305E #BB407C #CD6B9B

Accessibility & contrast

On white

7.73
#8D305E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D305E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D305E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D305E#FFFFFF#000000##FFFFFF
##8D305E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E485F
Deuteranopia (green-blind)
#58595C
Tritanopia (blue-blind)
#982A43
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d305e;
/* rgb */ color: rgb(141, 48, 94);
/* oklch */ color: oklch(45.9% 0.135 353.1);
Tailwind
colors: {
  custom: {
    50: '#b26e8b',
    500: '#8d305e',
    950: '#000000',
  },
}
SCSS
$custom: #8d305e;
$custom-light: #b26e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d305e",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 330.323,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.13476,
    "h": 353.1
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#8D305E
secondary
#65B48D
accent
#D9954F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8D305E

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

Preview Lab → · Contrast checker → · Palette generator →

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