#8D257A#8D257A

#8D257A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 336.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8D257A
RGBrgb(141, 37, 122)
HSLhsl(311, 58%, 35%)
HSVhsv(311, 74%, 55%)
CMYKcmyk(0%, 73.8%, 13.5%, 44.7%)
CIE-LABlab(34.79, 52.24, -24.65)
CIE-LCHlch(34.79, 57.77, 334.74°)
OKLaboklab(45.99% 0.1533 -0.0671)
OKLCHoklch(45.99% 0.167 336.4)
XYZxyz(15.1592, 8.3924, 19.2301)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D257A #258D38
analogous
#6C258D #8D257A #8D2546
triadic
#8D257A #7A8D25 #257A8D
tetradic
#8D257A #8D6C25 #258D38 #25468D
square
#8D257A #8D6C25 #258D38 #25468D
split-complementary
#8D257A #468D25 #258D6C
monochromatic
#2C0C26 #5D1850 #8D257A #BD32A4 #D359BD

Accessibility & contrast

On white

7.84
#8D257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D257A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D257A#FFFFFF#000000##FFFFFF
##8D257A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#4A5778
Tritanopia (blue-blind)
#942C4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d257a;
/* rgb */ color: rgb(141, 37, 122);
/* oklch */ color: oklch(46.0% 0.167 336.4);
Tailwind
colors: {
  custom: {
    50: '#b26aa0',
    500: '#8d257a',
    950: '#000000',
  },
}
SCSS
$custom: #8d257a;
$custom-light: #b26aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d257a",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 310.962,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45994,
    "c": 0.1674,
    "h": 336.4
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#8D257A
secondary
#56B868
accent
#E26346
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D257A

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

Preview Lab → · Contrast checker → · Palette generator →

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