#B1276C#B1276C

#B1276C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.182 H 355.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B1276C
RGBrgb(177, 39, 108)
HSLhsl(330, 64%, 42%)
HSVhsv(330, 78%, 69%)
CMYKcmyk(0%, 78%, 39%, 30.6%)
CIE-LABlab(41.03, 59.14, -5.75)
CIE-LCHlch(41.03, 59.42, 354.45°)
OKLaboklab(51.57% 0.1818 -0.0144)
OKLCHoklch(51.57% 0.182 355.5)
XYZxyz(21.5652, 11.8836, 15.3426)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1276C #27B16C
analogous
#B127B1 #B1276C #B12727
triadic
#B1276C #6CB127 #276CB1
tetradic
#B1276C #B1B127 #27B16C #2727B1
square
#B1276C #B1B127 #27B16C #2727B1
split-complementary
#B1276C #27B127 #27B1B1
monochromatic
#4D112F #7F1C4D #B1276C #D5408B #E072A9

Accessibility & contrast

On white

6.22
#B1276C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B1276C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1276C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1276C#FFFFFF#000000##FFFFFF
##B1276C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506E
Deuteranopia (green-blind)
#6A6A69
Tritanopia (blue-blind)
#BF1346
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1276c;
/* rgb */ color: rgb(177, 39, 108);
/* oklch */ color: oklch(51.6% 0.182 355.5);
Tailwind
colors: {
  custom: {
    50: '#cd7096',
    500: '#b1276c',
    950: '#000000',
  },
}
SCSS
$custom: #b1276c;
$custom-light: #cd7096;
$custom-dark: #000000;
JSON
{
  "hex": "#b1276c",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 330,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.18236,
    "h": 355.5
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#B1276C
secondary
#6DC79A
accent
#E79441
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1276C

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

Preview Lab → · Contrast checker → · Palette generator →

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