#8D2F4E#8D2F4E

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

Color values

HEX#8D2F4E
RGBrgb(141, 47, 78)
HSLhsl(340, 50%, 37%)
HSVhsv(340, 67%, 55%)
CMYKcmyk(0%, 66.7%, 44.7%, 44.7%)
CIE-LABlab(34.49, 42.44, 2.96)
CIE-LCHlch(34.49, 42.54, 3.99°)
OKLaboklab(45.21% 0.1296 0.0081)
OKLCHoklch(45.21% 0.13 3.6)
XYZxyz(13.3771, 8.2474, 8.0937)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F4E #2F8D6E
analogous
#8D2F7D #8D2F4E #8D3F2F
triadic
#8D2F4E #4E8D2F #2F4E8D
tetradic
#8D2F4E #7D8D2F #2F8D6E #3F2F8D
square
#8D2F4E #7D8D2F #2F8D6E #3F2F8D
split-complementary
#8D2F4E #2F8D3F #2F7D8D
monochromatic
#31101B #5F2035 #8D2F4E #BB3E67 #CD698A

Accessibility & contrast

On white

7.93
#8D2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F4E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F4E#FFFFFF#000000##FFFFFF
##8D2F4E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42464F
Deuteranopia (green-blind)
#5B584C
Tritanopia (blue-blind)
#99233B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2f4e;
/* rgb */ color: rgb(141, 47, 78);
/* oklch */ color: oklch(45.2% 0.130 3.6);
Tailwind
colors: {
  custom: {
    50: '#b36e7f',
    500: '#8d2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f4e;
$custom-light: #b36e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f4e",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 340.213,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45211,
    "c": 0.12987,
    "h": 3.6
  },
  "luminance": 0.08246
}

Semantic roles & 50–950 ramp

primary
#8D2F4E
secondary
#64B49A
accent
#DAAC4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8D2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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