#8D305B#8D305B

#8D305B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.133 H 355.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8D305B
RGBrgb(141, 48, 91)
HSLhsl(332, 49%, 37%)
HSVhsv(332, 66%, 55%)
CMYKcmyk(0%, 66%, 35.5%, 44.7%)
CIE-LABlab(35.07, 43.49, -4.55)
CIE-LCHlch(35.07, 43.73, 354.02°)
OKLaboklab(45.77% 0.1328 -0.0115)
OKLCHoklch(45.77% 0.133 355.1)
XYZxyz(13.9306, 8.5335, 10.8090)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D305B #308D62
analogous
#8D308A #8D305B #8D3430
triadic
#8D305B #5B8D30 #305B8D
tetradic
#8D305B #8A8D30 #308D62 #34308D
square
#8D305B #8A8D30 #308D62 #34308D
split-complementary
#8D305B #308D34 #308A8D
monochromatic
#321120 #5F203E #8D305B #BB4078 #CD6B98

Accessibility & contrast

On white

7.76
#8D305B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D305B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D305B
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D305B#FFFFFF#000000##FFFFFF
##8D305B1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485C
Deuteranopia (green-blind)
#595959
Tritanopia (blue-blind)
#982941
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d305b;
/* rgb */ color: rgb(141, 48, 91);
/* oklch */ color: oklch(45.8% 0.133 355.1);
Tailwind
colors: {
  custom: {
    50: '#b26e89',
    500: '#8d305b',
    950: '#000000',
  },
}
SCSS
$custom: #8d305b;
$custom-light: #b26e89;
$custom-dark: #000000;
JSON
{
  "hex": "#8d305b",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 332.258,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.13332,
    "h": 355.1
  },
  "luminance": 0.08532
}

Semantic roles & 50–950 ramp

primary
#8D305B
secondary
#65B48F
accent
#D9994F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8D305B

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

Preview Lab → · Contrast checker → · Palette generator →

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