#8B256C#8B256C

#8B256C is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.156 H 342.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8B256C
RGBrgb(139, 37, 108)
HSLhsl(318, 58%, 35%)
HSVhsv(318, 73%, 55%)
CMYKcmyk(0%, 73.4%, 22.3%, 45.5%)
CIE-LABlab(33.77, 49.65, -17.42)
CIE-LCHlch(33.77, 52.62, 340.66°)
OKLaboklab(44.97% 0.1492 -0.0467)
OKLCHoklch(44.97% 0.156 342.6)
XYZxyz(14.0163, 7.8962, 14.9704)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B256C #258B44
analogous
#77258B #8B256C #8B2539
triadic
#8B256C #6C8B25 #256C8B
tetradic
#8B256C #8B7725 #258B44 #25398B
square
#8B256C #8B7725 #258B44 #25398B
split-complementary
#8B256C #398B25 #258B77
monochromatic
#2A0B21 #5B1846 #8B256C #BB3292 #D358AD

Accessibility & contrast

On white

8.14
#8B256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B256C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B256C#FFFFFF#000000##FFFFFF
##8B256C1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456E
Deuteranopia (green-blind)
#4E556A
Tritanopia (blue-blind)
#942645
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b256c;
/* rgb */ color: rgb(139, 37, 108);
/* oklch */ color: oklch(45.0% 0.156 342.6);
Tailwind
colors: {
  custom: {
    50: '#b06996',
    500: '#8b256c',
    950: '#000000',
  },
}
SCSS
$custom: #8b256c;
$custom-light: #b06996;
$custom-dark: #000000;
JSON
{
  "hex": "#8b256c",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 318.235,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.15633,
    "h": 342.6
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#8B256C
secondary
#55B773
accent
#E17647
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B256C

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

Preview Lab → · Contrast checker → · Palette generator →

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