#8D304F#8D304F

#8D304F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.129 H 3.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8D304F
RGBrgb(141, 48, 79)
HSLhsl(340, 49%, 37%)
HSVhsv(340, 66%, 55%)
CMYKcmyk(0%, 66%, 44%, 44.7%)
CIE-LABlab(34.69, 42.10, 2.60)
CIE-LCHlch(34.69, 42.18, 3.53°)
OKLaboklab(45.36% 0.1286 0.0072)
OKLCHoklch(45.36% 0.129 3.2)
XYZxyz(13.4537, 8.3427, 8.2974)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D304F #308D6E
analogous
#8D307E #8D304F #8D4030
triadic
#8D304F #4F8D30 #304F8D
tetradic
#8D304F #7E8D30 #308D6E #40308D
square
#8D304F #7E8D30 #308D6E #40308D
split-complementary
#8D304F #308D40 #307E8D
monochromatic
#32111C #5F2035 #8D304F #BB4069 #CD6B8B

Accessibility & contrast

On white

7.87
#8D304F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D304F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D304F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D304F#FFFFFF#000000##FFFFFF
##8D304F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434650
Deuteranopia (green-blind)
#5B584D
Tritanopia (blue-blind)
#99253C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d304f;
/* rgb */ color: rgb(141, 48, 79);
/* oklch */ color: oklch(45.4% 0.129 3.2);
Tailwind
colors: {
  custom: {
    50: '#b26e80',
    500: '#8d304f',
    950: '#000000',
  },
}
SCSS
$custom: #8d304f;
$custom-light: #b26e80;
$custom-dark: #000000;
JSON
{
  "hex": "#8d304f",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 340,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.12878,
    "h": 3.2
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#8D304F
secondary
#65B49A
accent
#D9AB4F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8D304F

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

Preview Lab → · Contrast checker → · Palette generator →

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