#B1256B#B1256B

#B1256B is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.184 H 355.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B1256B
RGBrgb(177, 37, 107)
HSLhsl(330, 65%, 42%)
HSVhsv(330, 79%, 69%)
CMYKcmyk(0%, 79.1%, 39.5%, 30.6%)
CIE-LABlab(40.79, 59.62, -5.48)
CIE-LCHlch(40.79, 59.87, 354.75°)
OKLaboklab(51.38% 0.1834 -0.0137)
OKLCHoklch(51.38% 0.184 355.7)
XYZxyz(21.4484, 11.7345, 15.0426)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1256B #25B16B
analogous
#B125B1 #B1256B #B12525
triadic
#B1256B #6BB125 #256BB1
tetradic
#B1256B #B1B125 #25B16B #2525B1
square
#B1256B #B1B125 #25B16B #2525B1
split-complementary
#B1256B #25B125 #25B1B1
monochromatic
#4C102E #7E1A4C #B1256B #D63D8A #E16FA8

Accessibility & contrast

On white

6.28
#B1256B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B1256B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1256B
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1256B#FFFFFF#000000##FFFFFF
##B1256B1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506D
Deuteranopia (green-blind)
#6A6968
Tritanopia (blue-blind)
#C00E45
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1256b;
/* rgb */ color: rgb(177, 37, 107);
/* oklch */ color: oklch(51.4% 0.184 355.7);
Tailwind
colors: {
  custom: {
    50: '#ce6f95',
    500: '#b1256b',
    950: '#000000',
  },
}
SCSS
$custom: #b1256b;
$custom-light: #ce6f95;
$custom-dark: #000000;
JSON
{
  "hex": "#b1256b",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 330,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.18386,
    "h": 355.7
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#B1256B
secondary
#6AC899
accent
#E8943F
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1256B

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

Preview Lab → · Contrast checker → · Palette generator →

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