#8D256B#8D256B

#8D256B is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.157 H 344.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8D256B
RGBrgb(141, 37, 107)
HSLhsl(320, 58%, 35%)
HSVhsv(320, 74%, 55%)
CMYKcmyk(0%, 73.8%, 24.1%, 44.7%)
CIE-LABlab(34.08, 50.05, -16.27)
CIE-LCHlch(34.08, 52.63, 342.00°)
OKLaboklab(45.26% 0.151 -0.0434)
OKLCHoklch(45.26% 0.157 344)
XYZxyz(14.3005, 8.0489, 14.7075)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D256B #258D47
analogous
#7B258D #8D256B #8D2537
triadic
#8D256B #6B8D25 #256B8D
tetradic
#8D256B #8D7B25 #258D47 #25378D
square
#8D256B #8D7B25 #258D47 #25378D
split-complementary
#8D256B #378D25 #258D7B
monochromatic
#2C0C21 #5D1846 #8D256B #BD3290 #D359AB

Accessibility & contrast

On white

8.05
#8D256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D256B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D256B#FFFFFF#000000##FFFFFF
##8D256B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#505669
Tritanopia (blue-blind)
#962445
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d256b;
/* rgb */ color: rgb(141, 37, 107);
/* oklch */ color: oklch(45.3% 0.157 344.0);
Tailwind
colors: {
  custom: {
    50: '#b26a95',
    500: '#8d256b',
    950: '#000000',
  },
}
SCSS
$custom: #8d256b;
$custom-light: #b26a95;
$custom-dark: #000000;
JSON
{
  "hex": "#8d256b",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 319.615,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.1571,
    "h": 344
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#8D256B
secondary
#56B876
accent
#E27946
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D256B

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

Preview Lab → · Contrast checker → · Palette generator →

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