#B1256D#B1256D

#B1256D is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.185 H 354.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B1256D
RGBrgb(177, 37, 109)
HSLhsl(329, 65%, 42%)
HSVhsv(329, 79%, 69%)
CMYKcmyk(0%, 79.1%, 38.4%, 30.6%)
CIE-LABlab(40.86, 59.83, -6.63)
CIE-LCHlch(40.86, 60.19, 353.68°)
OKLaboklab(51.46% 0.1839 -0.0167)
OKLCHoklch(51.46% 0.185 354.8)
XYZxyz(21.5548, 11.7771, 15.6032)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1256D #25B169
analogous
#AF25B1 #B1256D #B12527
triadic
#B1256D #6DB125 #256DB1
tetradic
#B1256D #B1AF25 #25B169 #2527B1
square
#B1256D #B1AF25 #25B169 #2527B1
split-complementary
#B1256D #27B125 #25B1AF
monochromatic
#4C102F #7E1A4E #B1256D #D63D8C #E16FAA

Accessibility & contrast

On white

6.26
#B1256D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1256D
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1256D#FFFFFF#000000##FFFFFF
##B1256D1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42506F
Deuteranopia (green-blind)
#696A6A
Tritanopia (blue-blind)
#BF1046
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1256d;
/* rgb */ color: rgb(177, 37, 109);
/* oklch */ color: oklch(51.5% 0.185 354.8);
Tailwind
colors: {
  custom: {
    50: '#cd6f96',
    500: '#b1256d',
    950: '#000000',
  },
}
SCSS
$custom: #b1256d;
$custom-light: #cd6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#b1256d",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 329.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.1847,
    "h": 354.8
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#B1256D
secondary
#6AC898
accent
#E8913F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1256D

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

Preview Lab → · Contrast checker → · Palette generator →

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