#B1276B#B1276B

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

Color values

HEX#B1276B
RGBrgb(177, 39, 107)
HSLhsl(330, 64%, 42%)
HSVhsv(330, 78%, 69%)
CMYKcmyk(0%, 78%, 39.5%, 30.6%)
CIE-LABlab(41.00, 59.03, -5.17)
CIE-LCHlch(41.00, 59.26, 354.99°)
OKLaboklab(51.53% 0.1815 -0.0129)
OKLCHoklch(51.53% 0.182 355.9)
XYZxyz(21.5123, 11.8624, 15.0639)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1276B #27B16D
analogous
#B127B0 #B1276B #B12827
triadic
#B1276B #6BB127 #276BB1
tetradic
#B1276B #B0B127 #27B16D #2827B1
square
#B1276B #B0B127 #27B16D #2827B1
split-complementary
#B1276B #27B128 #27B0B1
monochromatic
#4D112E #7F1C4D #B1276B #D5408A #E072A8

Accessibility & contrast

On white

6.23
#B1276B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B1276B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1276B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1276B#FFFFFF#000000##FFFFFF
##B1276B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506D
Deuteranopia (green-blind)
#6A6A68
Tritanopia (blue-blind)
#C01246
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1276b;
/* rgb */ color: rgb(177, 39, 107);
/* oklch */ color: oklch(51.5% 0.182 355.9);
Tailwind
colors: {
  custom: {
    50: '#cd7095',
    500: '#b1276b',
    950: '#000000',
  },
}
SCSS
$custom: #b1276b;
$custom-light: #cd7095;
$custom-dark: #000000;
JSON
{
  "hex": "#b1276b",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 330.435,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.18195,
    "h": 355.9
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#B1276B
secondary
#6DC79B
accent
#E79541
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1276B

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

Preview Lab → · Contrast checker → · Palette generator →

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