#8D256C#8D256C

#8D256C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.158 H 343.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8D256C
RGBrgb(141, 37, 108)
HSLhsl(319, 58%, 35%)
HSVhsv(319, 74%, 55%)
CMYKcmyk(0%, 73.8%, 23.4%, 44.7%)
CIE-LABlab(34.13, 50.19, -16.83)
CIE-LCHlch(34.13, 52.94, 341.46°)
OKLaboklab(45.3% 0.1512 -0.045)
OKLCHoklch(45.3% 0.158 343.4)
XYZxyz(14.3534, 8.0700, 14.9862)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D256C #258D46
analogous
#7A258D #8D256C #8D2538
triadic
#8D256C #6C8D25 #256C8D
tetradic
#8D256C #8D7A25 #258D46 #25388D
square
#8D256C #8D7A25 #258D46 #25388D
split-complementary
#8D256C #388D25 #258D7A
monochromatic
#2C0C22 #5D1847 #8D256C #BD3291 #D359AD

Accessibility & contrast

On white

8.03
#8D256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D256C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D256C#FFFFFF#000000##FFFFFF
##8D256C1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456E
Deuteranopia (green-blind)
#50566A
Tritanopia (blue-blind)
#962545
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d256c;
/* rgb */ color: rgb(141, 37, 108);
/* oklch */ color: oklch(45.3% 0.158 343.4);
Tailwind
colors: {
  custom: {
    50: '#b26a96',
    500: '#8d256c',
    950: '#000000',
  },
}
SCSS
$custom: #8d256c;
$custom-light: #b26a96;
$custom-dark: #000000;
JSON
{
  "hex": "#8d256c",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 319.038,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45301,
    "c": 0.15774,
    "h": 343.4
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#8D256C
secondary
#56B875
accent
#E27746
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D256C

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

Preview Lab → · Contrast checker → · Palette generator →

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