#8D256E#8D256E

#8D256E is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.159 H 342.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8D256E
RGBrgb(141, 37, 110)
HSLhsl(318, 58%, 35%)
HSVhsv(318, 74%, 55%)
CMYKcmyk(0%, 73.8%, 22%, 44.7%)
CIE-LABlab(34.22, 50.47, -17.97)
CIE-LCHlch(34.22, 53.57, 340.41°)
OKLaboklab(45.4% 0.1516 -0.0482)
OKLCHoklch(45.4% 0.159 342.4)
XYZxyz(14.4610, 8.1131, 15.5532)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D256E #258D44
analogous
#78258D #8D256E #8D253A
triadic
#8D256E #6E8D25 #256E8D
tetradic
#8D256E #8D7825 #258D44 #253A8D
square
#8D256E #8D7825 #258D44 #253A8D
split-complementary
#8D256E #3A8D25 #258D78
monochromatic
#2C0C22 #5D1848 #8D256E #BD3294 #D359AF

Accessibility & contrast

On white

8.01
#8D256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D256E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D256E#FFFFFF#000000##FFFFFF
##8D256E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4670
Deuteranopia (green-blind)
#4F576C
Tritanopia (blue-blind)
#962646
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d256e;
/* rgb */ color: rgb(141, 37, 110);
/* oklch */ color: oklch(45.4% 0.159 342.4);
Tailwind
colors: {
  custom: {
    50: '#b26a97',
    500: '#8d256e',
    950: '#000000',
  },
}
SCSS
$custom: #8d256e;
$custom-light: #b26a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8d256e",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 317.885,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.15905,
    "h": 342.4
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#8D256E
secondary
#56B873
accent
#E27546
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D256E

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

Preview Lab → · Contrast checker → · Palette generator →

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