#8B256F#8B256F

#8B256F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.158 H 341.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8B256F
RGBrgb(139, 37, 111)
HSLhsl(316, 58%, 35%)
HSVhsv(316, 73%, 55%)
CMYKcmyk(0%, 73.4%, 20.1%, 45.5%)
CIE-LABlab(33.90, 50.08, -19.12)
CIE-LCHlch(33.90, 53.61, 339.11°)
OKLaboklab(45.11% 0.1497 -0.0514)
OKLCHoklch(45.11% 0.158 341)
XYZxyz(14.1787, 7.9612, 15.8258)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B256F #258B41
analogous
#74258B #8B256F #8B253C
triadic
#8B256F #6F8B25 #256F8B
tetradic
#8B256F #8B7425 #258B41 #253C8B
square
#8B256F #8B7425 #258B41 #253C8B
split-complementary
#8B256F #3C8B25 #258B74
monochromatic
#2A0B22 #5B1848 #8B256F #BB3296 #D358B1

Accessibility & contrast

On white

8.10
#8B256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B256F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B256F#FFFFFF#000000##FFFFFF
##8B256F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#4D566D
Tritanopia (blue-blind)
#942747
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b256f;
/* rgb */ color: rgb(139, 37, 111);
/* oklch */ color: oklch(45.1% 0.158 341.0);
Tailwind
colors: {
  custom: {
    50: '#b06998',
    500: '#8b256f',
    950: '#000000',
  },
}
SCSS
$custom: #8b256f;
$custom-light: #b06998;
$custom-dark: #000000;
JSON
{
  "hex": "#8b256f",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 316.471,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.15833,
    "h": 341
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#8B256F
secondary
#55B770
accent
#E17147
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B256F

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

Preview Lab → · Contrast checker → · Palette generator →

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