#8B256B#8B256B

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

Color values

HEX#8B256B
RGBrgb(139, 37, 107)
HSLhsl(319, 58%, 35%)
HSVhsv(319, 73%, 55%)
CMYKcmyk(0%, 73.4%, 23%, 45.5%)
CIE-LABlab(33.72, 49.51, -16.85)
CIE-LCHlch(33.72, 52.30, 341.20°)
OKLaboklab(44.92% 0.149 -0.0451)
OKLCHoklch(44.92% 0.156 343.2)
XYZxyz(13.9634, 7.8751, 14.6917)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B256B #258B45
analogous
#78258B #8B256B #8B2538
triadic
#8B256B #6B8B25 #256B8B
tetradic
#8B256B #8B7825 #258B45 #25388B
square
#8B256B #8B7825 #258B45 #25388B
split-complementary
#8B256B #388B25 #258B78
monochromatic
#2A0B21 #5B1846 #8B256B #BB3290 #D358AC

Accessibility & contrast

On white

8.16
#8B256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B256B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B256B#FFFFFF#000000##FFFFFF
##8B256B1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456D
Deuteranopia (green-blind)
#4F5569
Tritanopia (blue-blind)
#942545
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b256b;
/* rgb */ color: rgb(139, 37, 107);
/* oklch */ color: oklch(44.9% 0.156 343.2);
Tailwind
colors: {
  custom: {
    50: '#b06995',
    500: '#8b256b',
    950: '#000000',
  },
}
SCSS
$custom: #8b256b;
$custom-light: #b06995;
$custom-dark: #000000;
JSON
{
  "hex": "#8b256b",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 318.824,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44922,
    "c": 0.15568,
    "h": 343.2
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#8B256B
secondary
#55B774
accent
#E17747
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B256B

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

Preview Lab → · Contrast checker → · Palette generator →

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