#B1256F#B1256F

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

Color values

HEX#B1256F
RGBrgb(177, 37, 111)
HSLhsl(328, 65%, 42%)
HSVhsv(328, 79%, 69%)
CMYKcmyk(0%, 79.1%, 37.3%, 30.6%)
CIE-LABlab(40.93, 60.04, -7.77)
CIE-LCHlch(40.93, 60.54, 352.62°)
OKLaboklab(51.53% 0.1845 -0.0198)
OKLCHoklch(51.53% 0.186 353.9)
XYZxyz(21.6637, 11.8207, 16.1766)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1256F #25B167
analogous
#AD25B1 #B1256F #B12529
triadic
#B1256F #6FB125 #256FB1
tetradic
#B1256F #B1AD25 #25B167 #2529B1
square
#B1256F #B1AD25 #25B167 #2529B1
split-complementary
#B1256F #29B125 #25B1AD
monochromatic
#4C1030 #7E1A4F #B1256F #D63D8E #E16FAB

Accessibility & contrast

On white

6.24
#B1256F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B1256F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1256F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1256F#FFFFFF#000000##FFFFFF
##B1256F1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425071
Deuteranopia (green-blind)
#696A6C
Tritanopia (blue-blind)
#BF1247
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1256f;
/* rgb */ color: rgb(177, 37, 111);
/* oklch */ color: oklch(51.5% 0.186 353.9);
Tailwind
colors: {
  custom: {
    50: '#cd6f98',
    500: '#b1256f',
    950: '#000000',
  },
}
SCSS
$custom: #b1256f;
$custom-light: #cd6f98;
$custom-dark: #000000;
JSON
{
  "hex": "#b1256f",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 328.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.18557,
    "h": 353.9
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#B1256F
secondary
#6AC896
accent
#E88F3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1256F

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

Preview Lab → · Contrast checker → · Palette generator →

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