#8D2F4D#8D2F4D

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

Color values

HEX#8D2F4D
RGBrgb(141, 47, 77)
HSLhsl(341, 50%, 37%)
HSVhsv(341, 67%, 55%)
CMYKcmyk(0%, 66.7%, 45.4%, 44.7%)
CIE-LABlab(34.46, 42.33, 3.57)
CIE-LCHlch(34.46, 42.48, 4.82°)
OKLaboklab(45.18% 0.1292 0.0096)
OKLCHoklch(45.18% 0.13 4.3)
XYZxyz(13.3415, 8.2332, 7.9063)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F4D #2F8D6F
analogous
#8D2F7C #8D2F4D #8D402F
triadic
#8D2F4D #4D8D2F #2F4D8D
tetradic
#8D2F4D #7C8D2F #2F8D6F #402F8D
square
#8D2F4D #7C8D2F #2F8D6F #402F8D
split-complementary
#8D2F4D #2F8D40 #2F7C8D
monochromatic
#31101B #5F2034 #8D2F4D #BB3E66 #CD6989

Accessibility & contrast

On white

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

On black

2.65
#8D2F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D2F4D#FFFFFF#000000##FFFFFF
##8D2F4D1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454E
Deuteranopia (green-blind)
#5B584B
Tritanopia (blue-blind)
#99233B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2f4d;
/* rgb */ color: rgb(141, 47, 77);
/* oklch */ color: oklch(45.2% 0.130 4.3);
Tailwind
colors: {
  custom: {
    50: '#b36d7e',
    500: '#8d2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f4d;
$custom-light: #b36d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f4d",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 340.851,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4518,
    "c": 0.12959,
    "h": 4.3
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#8D2F4D
secondary
#64B49A
accent
#DAAD4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8D2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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