#8D2257#8D2257

#8D2257 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.150 H 355.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8D2257
RGBrgb(141, 34, 87)
HSLhsl(330, 61%, 34%)
HSVhsv(330, 76%, 55%)
CMYKcmyk(0%, 75.9%, 38.3%, 44.7%)
CIE-LABlab(32.91, 48.61, -5.19)
CIE-LCHlch(32.91, 48.89, 353.91°)
OKLaboklab(44.14% 0.1492 -0.0131)
OKLCHoklch(44.14% 0.15 355)
XYZxyz(13.2777, 7.4965, 9.7627)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2257 #228D58
analogous
#8D228D #8D2257 #8D2222
triadic
#8D2257 #578D22 #22578D
tetradic
#8D2257 #8D8D22 #228D58 #22228D
square
#8D2257 #8D8D22 #228D58 #22228D
split-complementary
#8D2257 #228D22 #228D8D
monochromatic
#2A0A1A #5C1639 #8D2257 #BE2E75 #D65494

Accessibility & contrast

On white

8.40
#8D2257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8D2257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2257
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2257#FFFFFF#000000##FFFFFF
##8D22571.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#555555
Tritanopia (blue-blind)
#981639
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d2257;
/* rgb */ color: rgb(141, 34, 87);
/* oklch */ color: oklch(44.1% 0.150 355.0);
Tailwind
colors: {
  custom: {
    50: '#b36886',
    500: '#8d2257',
    950: '#000000',
  },
}
SCSS
$custom: #8d2257;
$custom-light: #b36886;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2257",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 330.28,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.14976,
    "h": 355
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#8D2257
secondary
#51B986
accent
#E49544
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8D2257

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

Preview Lab → · Contrast checker → · Palette generator →

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