#8B256E#8B256E

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

Color values

HEX#8B256E
RGBrgb(139, 37, 110)
HSLhsl(317, 58%, 35%)
HSVhsv(317, 73%, 55%)
CMYKcmyk(0%, 73.4%, 20.9%, 45.5%)
CIE-LABlab(33.86, 49.94, -18.55)
CIE-LCHlch(33.86, 53.27, 339.62°)
OKLaboklab(45.06% 0.1496 -0.0499)
OKLCHoklch(45.06% 0.158 341.6)
XYZxyz(14.1239, 7.9393, 15.5374)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B256E #258B42
analogous
#75258B #8B256E #8B253B
triadic
#8B256E #6E8B25 #256E8B
tetradic
#8B256E #8B7525 #258B42 #253B8B
square
#8B256E #8B7525 #258B42 #253B8B
split-complementary
#8B256E #3B8B25 #258B75
monochromatic
#2A0B22 #5B1848 #8B256E #BB3294 #D358B0

Accessibility & contrast

On white

8.12
#8B256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B256E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B256E#FFFFFF#000000##FFFFFF
##8B256E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4570
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#942746
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b256e;
/* rgb */ color: rgb(139, 37, 110);
/* oklch */ color: oklch(45.1% 0.158 341.6);
Tailwind
colors: {
  custom: {
    50: '#b06997',
    500: '#8b256e',
    950: '#000000',
  },
}
SCSS
$custom: #8b256e;
$custom-light: #b06997;
$custom-dark: #000000;
JSON
{
  "hex": "#8b256e",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 317.059,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45064,
    "c": 0.15766,
    "h": 341.6
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#8B256E
secondary
#55B771
accent
#E17347
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B256E

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

Preview Lab → · Contrast checker → · Palette generator →

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