#8D2F5A#8D2F5A

#8D2F5A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.134 H 355.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8D2F5A
RGBrgb(141, 47, 90)
HSLhsl(333, 50%, 37%)
HSVhsv(333, 67%, 55%)
CMYKcmyk(0%, 66.7%, 36.2%, 44.7%)
CIE-LABlab(34.87, 43.81, -4.20)
CIE-LCHlch(34.87, 44.01, 354.52°)
OKLaboklab(45.62% 0.1339 -0.0105)
OKLCHoklch(45.62% 0.134 355.5)
XYZxyz(13.8473, 8.4355, 10.5699)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F5A #2F8D62
analogous
#8D2F89 #8D2F5A #8D332F
triadic
#8D2F5A #5A8D2F #2F5A8D
tetradic
#8D2F5A #898D2F #2F8D62 #332F8D
square
#8D2F5A #898D2F #2F8D62 #332F8D
split-complementary
#8D2F5A #2F8D33 #2F898D
monochromatic
#31101F #5F203D #8D2F5A #BB3E77 #CD6997

Accessibility & contrast

On white

7.82
#8D2F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D2F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F5A
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F5A#FFFFFF#000000##FFFFFF
##8D2F5A1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F475B
Deuteranopia (green-blind)
#595858
Tritanopia (blue-blind)
#982740
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2f5a;
/* rgb */ color: rgb(141, 47, 90);
/* oklch */ color: oklch(45.6% 0.134 355.5);
Tailwind
colors: {
  custom: {
    50: '#b26e88',
    500: '#8d2f5a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f5a;
$custom-light: #b26e88;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f5a",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 332.553,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.1343,
    "h": 355.5
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#8D2F5A
secondary
#64B48F
accent
#DA9A4E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8D2F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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