#B1256A#B1256A

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

Color values

HEX#B1256A
RGBrgb(177, 37, 106)
HSLhsl(330, 65%, 42%)
HSVhsv(330, 79%, 69%)
CMYKcmyk(0%, 79.1%, 40.1%, 30.6%)
CIE-LABlab(40.76, 59.52, -4.90)
CIE-LCHlch(40.76, 59.72, 355.29°)
OKLaboklab(51.35% 0.1831 -0.0121)
OKLCHoklch(51.35% 0.183 356.2)
XYZxyz(21.3961, 11.7136, 14.7671)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1256A #25B16C
analogous
#B125B0 #B1256A #B12625
triadic
#B1256A #6AB125 #256AB1
tetradic
#B1256A #B0B125 #25B16C #2625B1
square
#B1256A #B0B125 #25B16C #2625B1
split-complementary
#B1256A #25B126 #25B0B1
monochromatic
#4C102D #7E1A4C #B1256A #D63D89 #E16FA7

Accessibility & contrast

On white

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

On black

3.34
#B1256A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B1256A#FFFFFF#000000##FFFFFF
##B1256A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6C
Deuteranopia (green-blind)
#6A6967
Tritanopia (blue-blind)
#C00D45
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1256a;
/* rgb */ color: rgb(177, 37, 106);
/* oklch */ color: oklch(51.3% 0.183 356.2);
Tailwind
colors: {
  custom: {
    50: '#ce6f94',
    500: '#b1256a',
    950: '#000000',
  },
}
SCSS
$custom: #b1256a;
$custom-light: #ce6f94;
$custom-dark: #000000;
JSON
{
  "hex": "#b1256a",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 330.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.18345,
    "h": 356.2
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#B1256A
secondary
#6AC89A
accent
#E8953F
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1256A

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

Preview Lab → · Contrast checker → · Palette generator →

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