#8D2F58#8D2F58

#8D2F58 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.5% C 0.133 H 356.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8D2F58
RGBrgb(141, 47, 88)
HSLhsl(334, 50%, 37%)
HSVhsv(334, 67%, 55%)
CMYKcmyk(0%, 66.7%, 37.6%, 44.7%)
CIE-LABlab(34.81, 43.57, -3.02)
CIE-LCHlch(34.81, 43.67, 356.03°)
OKLaboklab(45.55% 0.1332 -0.0074)
OKLCHoklch(45.55% 0.133 356.8)
XYZxyz(13.7633, 8.4019, 10.1276)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F58 #2F8D64
analogous
#8D2F87 #8D2F58 #8D352F
triadic
#8D2F58 #588D2F #2F588D
tetradic
#8D2F58 #878D2F #2F8D64 #352F8D
square
#8D2F58 #878D2F #2F8D64 #352F8D
split-complementary
#8D2F58 #2F8D35 #2F878D
monochromatic
#31101F #5F203B #8D2F58 #BB3E75 #CD6995

Accessibility & contrast

On white

7.84
#8D2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D2F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F58
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F58#FFFFFF#000000##FFFFFF
##8D2F581.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404759
Deuteranopia (green-blind)
#595856
Tritanopia (blue-blind)
#982740
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2f58;
/* rgb */ color: rgb(141, 47, 88);
/* oklch */ color: oklch(45.5% 0.133 356.8);
Tailwind
colors: {
  custom: {
    50: '#b26e87',
    500: '#8d2f58',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f58;
$custom-light: #b26e87;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f58",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 333.83,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45546,
    "c": 0.13342,
    "h": 356.8
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#8D2F58
secondary
#64B491
accent
#DA9D4E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8D2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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