#B0256B#B0256B

#B0256B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.183 H 355.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B0256B
RGBrgb(176, 37, 107)
HSLhsl(330, 65%, 42%)
HSVhsv(330, 79%, 69%)
CMYKcmyk(0%, 79%, 39.2%, 31%)
CIE-LABlab(40.60, 59.36, -5.78)
CIE-LCHlch(40.60, 59.64, 354.44°)
OKLaboklab(51.21% 0.1825 -0.0145)
OKLCHoklch(51.21% 0.183 355.5)
XYZxyz(21.2214, 11.6175, 15.0320)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0256B #25B06A
analogous
#B025B0 #B0256B #B02526
triadic
#B0256B #6BB025 #256BB0
tetradic
#B0256B #B0B025 #25B06A #2526B0
square
#B0256B #B0B025 #25B06A #2526B0
split-complementary
#B0256B #26B025 #25B0B0
monochromatic
#4B102E #7D1A4C #B0256B #D63C8A #E16FA8

Accessibility & contrast

On white

6.32
#B0256B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B0256B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0256B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0256B#FFFFFF#000000##FFFFFF
##B0256B1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6D
Deuteranopia (green-blind)
#696968
Tritanopia (blue-blind)
#BE0F45
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b0256b;
/* rgb */ color: rgb(176, 37, 107);
/* oklch */ color: oklch(51.2% 0.183 355.5);
Tailwind
colors: {
  custom: {
    50: '#cd6f95',
    500: '#b0256b',
    950: '#000000',
  },
}
SCSS
$custom: #b0256b;
$custom-light: #cd6f95;
$custom-dark: #000000;
JSON
{
  "hex": "#b0256b",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 329.784,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.1831,
    "h": 355.5
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#B0256B
secondary
#6AC798
accent
#E89340
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B0256B

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

Preview Lab → · Contrast checker → · Palette generator →

#B0256B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva