#8D256D#8D256D

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

Color values

HEX#8D256D
RGBrgb(141, 37, 109)
HSLhsl(318, 58%, 35%)
HSVhsv(318, 74%, 55%)
CMYKcmyk(0%, 73.8%, 22.7%, 44.7%)
CIE-LABlab(34.17, 50.33, -17.40)
CIE-LCHlch(34.17, 53.25, 340.93°)
OKLaboklab(45.35% 0.1514 -0.0466)
OKLCHoklch(45.35% 0.158 342.9)
XYZxyz(14.4069, 8.0915, 15.2681)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D256D #258D45
analogous
#79258D #8D256D #8D2539
triadic
#8D256D #6D8D25 #256D8D
tetradic
#8D256D #8D7925 #258D45 #25398D
square
#8D256D #8D7925 #258D45 #25398D
split-complementary
#8D256D #398D25 #258D79
monochromatic
#2C0C22 #5D1848 #8D256D #BD3292 #D359AE

Accessibility & contrast

On white

8.02
#8D256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D256D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D256D#FFFFFF#000000##FFFFFF
##8D256D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456F
Deuteranopia (green-blind)
#4F576B
Tritanopia (blue-blind)
#962546
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d256d;
/* rgb */ color: rgb(141, 37, 109);
/* oklch */ color: oklch(45.3% 0.158 342.9);
Tailwind
colors: {
  custom: {
    50: '#b26a97',
    500: '#8d256d',
    950: '#000000',
  },
}
SCSS
$custom: #8d256d;
$custom-light: #b26a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8d256d",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 318.462,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45348,
    "c": 0.1584,
    "h": 342.9
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#8D256D
secondary
#56B874
accent
#E27646
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D256D

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

Preview Lab → · Contrast checker → · Palette generator →

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