#8D256F#8D256F

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

Color values

HEX#8D256F
RGBrgb(141, 37, 111)
HSLhsl(317, 58%, 35%)
HSVhsv(317, 74%, 55%)
CMYKcmyk(0%, 73.8%, 21.3%, 44.7%)
CIE-LABlab(34.26, 50.61, -18.53)
CIE-LCHlch(34.26, 53.90, 339.89°)
OKLaboklab(45.44% 0.1518 -0.0498)
OKLCHoklch(45.44% 0.16 341.8)
XYZxyz(14.5158, 8.1350, 15.8416)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D256F #258D43
analogous
#77258D #8D256F #8D253B
triadic
#8D256F #6F8D25 #256F8D
tetradic
#8D256F #8D7725 #258D43 #253B8D
square
#8D256F #8D7725 #258D43 #253B8D
split-complementary
#8D256F #3B8D25 #258D77
monochromatic
#2C0C23 #5D1849 #8D256F #BD3295 #D359B0

Accessibility & contrast

On white

7.99
#8D256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D256F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D256F#FFFFFF#000000##FFFFFF
##8D256F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4671
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#962647
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d256f;
/* rgb */ color: rgb(141, 37, 111);
/* oklch */ color: oklch(45.4% 0.160 341.8);
Tailwind
colors: {
  custom: {
    50: '#b26a98',
    500: '#8d256f',
    950: '#000000',
  },
}
SCSS
$custom: #8d256f;
$custom-light: #b26a98;
$custom-dark: #000000;
JSON
{
  "hex": "#8d256f",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 317.308,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.15971,
    "h": 341.8
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#8D256F
secondary
#56B872
accent
#E27346
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D256F

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

Preview Lab → · Contrast checker → · Palette generator →

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