#B1276A#B1276A

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

Color values

HEX#B1276A
RGBrgb(177, 39, 106)
HSLhsl(331, 64%, 42%)
HSVhsv(331, 78%, 69%)
CMYKcmyk(0%, 78%, 40.1%, 30.6%)
CIE-LABlab(40.96, 58.93, -4.59)
CIE-LCHlch(40.96, 59.11, 355.54°)
OKLaboklab(51.5% 0.1812 -0.0113)
OKLCHoklch(51.5% 0.182 356.4)
XYZxyz(21.4600, 11.8415, 14.7884)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1276A #27B16E
analogous
#B127AF #B1276A #B12927
triadic
#B1276A #6AB127 #276AB1
tetradic
#B1276A #AFB127 #27B16E #2927B1
square
#B1276A #AFB127 #27B16E #2927B1
split-complementary
#B1276A #27B129 #27AFB1
monochromatic
#4D112E #7F1C4C #B1276A #D54088 #E072A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1276A#FFFFFF#000000##FFFFFF
##B1276A1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45506C
Deuteranopia (green-blind)
#6B6A67
Tritanopia (blue-blind)
#C01145
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1276a;
/* rgb */ color: rgb(177, 39, 106);
/* oklch */ color: oklch(51.5% 0.182 356.4);
Tailwind
colors: {
  custom: {
    50: '#cd7094',
    500: '#b1276a',
    950: '#000000',
  },
}
SCSS
$custom: #b1276a;
$custom-light: #cd7094;
$custom-dark: #000000;
JSON
{
  "hex": "#b1276a",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 330.87,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.18154,
    "h": 356.4
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1276A

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

Preview Lab → · Contrast checker → · Palette generator →

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