#8D2F4C#8D2F4C

#8D2F4C is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.1% C 0.129 H 5.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8D2F4C
RGBrgb(141, 47, 76)
HSLhsl(341, 50%, 37%)
HSVhsv(341, 67%, 55%)
CMYKcmyk(0%, 66.7%, 46.1%, 44.7%)
CIE-LABlab(34.44, 42.23, 4.17)
CIE-LCHlch(34.44, 42.44, 5.64°)
OKLaboklab(45.15% 0.1289 0.0112)
OKLCHoklch(45.15% 0.129 5)
XYZxyz(13.3065, 8.2192, 7.7218)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F4C #2F8D70
analogous
#8D2F7B #8D2F4C #8D412F
triadic
#8D2F4C #4C8D2F #2F4C8D
tetradic
#8D2F4C #7B8D2F #2F8D70 #412F8D
square
#8D2F4C #7B8D2F #2F8D70 #412F8D
split-complementary
#8D2F4C #2F8D41 #2F7B8D
monochromatic
#31101B #5F2033 #8D2F4C #BB3E65 #CD6988

Accessibility & contrast

On white

7.94
#8D2F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D2F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F4C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F4C#FFFFFF#000000##FFFFFF
##8D2F4C1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43454D
Deuteranopia (green-blind)
#5C584A
Tritanopia (blue-blind)
#99223A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2f4c;
/* rgb */ color: rgb(141, 47, 76);
/* oklch */ color: oklch(45.1% 0.129 5.0);
Tailwind
colors: {
  custom: {
    50: '#b36d7d',
    500: '#8d2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f4c;
$custom-light: #b36d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f4c",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 341.489,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.12933,
    "h": 5
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#8D2F4C
secondary
#64B49B
accent
#DAAF4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8D2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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