#B1276D#B1276D

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

Color values

HEX#B1276D
RGBrgb(177, 39, 109)
HSLhsl(330, 64%, 42%)
HSVhsv(330, 78%, 69%)
CMYKcmyk(0%, 78%, 38.4%, 30.6%)
CIE-LABlab(41.06, 59.24, -6.32)
CIE-LCHlch(41.06, 59.58, 353.91°)
OKLaboklab(51.61% 0.1821 -0.0159)
OKLCHoklch(51.61% 0.183 355)
XYZxyz(21.6188, 11.9050, 15.6245)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1276D #27B16B
analogous
#B027B1 #B1276D #B12728
triadic
#B1276D #6DB127 #276DB1
tetradic
#B1276D #B1B027 #27B16B #2728B1
square
#B1276D #B1B027 #27B16B #2728B1
split-complementary
#B1276D #28B127 #27B1B0
monochromatic
#4D112F #7F1C4E #B1276D #D5408C #E072AA

Accessibility & contrast

On white

6.21
#B1276D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1276D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1276D#FFFFFF#000000##FFFFFF
##B1276D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44516F
Deuteranopia (green-blind)
#6A6A6A
Tritanopia (blue-blind)
#BF1447
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1276d;
/* rgb */ color: rgb(177, 39, 109);
/* oklch */ color: oklch(51.6% 0.183 355.0);
Tailwind
colors: {
  custom: {
    50: '#cd7096',
    500: '#b1276d',
    950: '#000000',
  },
}
SCSS
$custom: #b1276d;
$custom-light: #cd7096;
$custom-dark: #000000;
JSON
{
  "hex": "#b1276d",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 329.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51606,
    "c": 0.18277,
    "h": 355
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#B1276D
secondary
#6DC799
accent
#E79341
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1276D

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

Preview Lab → · Contrast checker → · Palette generator →

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