#B1276F#B1276F

#B1276F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.184 H 354.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B1276F
RGBrgb(177, 39, 111)
HSLhsl(329, 64%, 42%)
HSVhsv(329, 78%, 69%)
CMYKcmyk(0%, 78%, 37.3%, 30.6%)
CIE-LABlab(41.13, 59.45, -7.47)
CIE-LCHlch(41.13, 59.92, 352.84°)
OKLaboklab(51.68% 0.1827 -0.019)
OKLCHoklch(51.68% 0.184 354.1)
XYZxyz(21.7277, 11.9486, 16.1980)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1276F #27B169
analogous
#AE27B1 #B1276F #B1272A
triadic
#B1276F #6FB127 #276FB1
tetradic
#B1276F #B1AE27 #27B169 #272AB1
square
#B1276F #B1AE27 #27B169 #272AB1
split-complementary
#B1276F #2AB127 #27B1AE
monochromatic
#4D1130 #7F1C50 #B1276F #D5408E #E072AC

Accessibility & contrast

On white

6.20
#B1276F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B1276F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1276F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1276F#FFFFFF#000000##FFFFFF
##B1276F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435171
Deuteranopia (green-blind)
#6A6A6C
Tritanopia (blue-blind)
#BF1648
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1276f;
/* rgb */ color: rgb(177, 39, 111);
/* oklch */ color: oklch(51.7% 0.184 354.1);
Tailwind
colors: {
  custom: {
    50: '#cd7098',
    500: '#b1276f',
    950: '#000000',
  },
}
SCSS
$custom: #b1276f;
$custom-light: #cd7098;
$custom-dark: #000000;
JSON
{
  "hex": "#b1276f",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 328.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.18364,
    "h": 354.1
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#B1276F
secondary
#6DC798
accent
#E79041
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1276F

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

Preview Lab → · Contrast checker → · Palette generator →

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