#B1256C#B1256C

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

Color values

HEX#B1256C
RGBrgb(177, 37, 108)
HSLhsl(330, 65%, 42%)
HSVhsv(330, 79%, 69%)
CMYKcmyk(0%, 79.1%, 39%, 30.6%)
CIE-LABlab(40.83, 59.72, -6.05)
CIE-LCHlch(40.83, 60.03, 354.21°)
OKLaboklab(51.42% 0.1837 -0.0152)
OKLCHoklch(51.42% 0.184 355.3)
XYZxyz(21.5013, 11.7557, 15.3213)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1256C #25B16A
analogous
#B025B1 #B1256C #B12526
triadic
#B1256C #6CB125 #256CB1
tetradic
#B1256C #B1B025 #25B16A #2526B1
square
#B1256C #B1B025 #25B16A #2526B1
split-complementary
#B1256C #26B125 #25B1B0
monochromatic
#4C102E #7E1A4D #B1256C #D63D8B #E16FA9

Accessibility & contrast

On white

6.27
#B1256C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1256C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1256C#FFFFFF#000000##FFFFFF
##B1256C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506E
Deuteranopia (green-blind)
#6A6A69
Tritanopia (blue-blind)
#BF0F46
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1256c;
/* rgb */ color: rgb(177, 37, 108);
/* oklch */ color: oklch(51.4% 0.184 355.3);
Tailwind
colors: {
  custom: {
    50: '#cd6f96',
    500: '#b1256c',
    950: '#000000',
  },
}
SCSS
$custom: #b1256c;
$custom-light: #cd6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#b1256c",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 329.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.18428,
    "h": 355.3
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#B1256C
secondary
#6AC898
accent
#E8933F
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1256C

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

Preview Lab → · Contrast checker → · Palette generator →

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