#B1276E#B1276E

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

Color values

HEX#B1276E
RGBrgb(177, 39, 110)
HSLhsl(329, 64%, 42%)
HSVhsv(329, 78%, 69%)
CMYKcmyk(0%, 78%, 37.9%, 30.6%)
CIE-LABlab(41.10, 59.35, -6.89)
CIE-LCHlch(41.10, 59.75, 353.37°)
OKLaboklab(51.64% 0.1824 -0.0175)
OKLCHoklch(51.64% 0.183 354.5)
XYZxyz(21.6729, 11.9267, 15.9096)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1276E #27B16A
analogous
#AF27B1 #B1276E #B12729
triadic
#B1276E #6EB127 #276EB1
tetradic
#B1276E #B1AF27 #27B16A #2729B1
square
#B1276E #B1AF27 #27B16A #2729B1
split-complementary
#B1276E #29B127 #27B1AF
monochromatic
#4D1130 #7F1C4F #B1276E #D5408D #E072AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1276E#FFFFFF#000000##FFFFFF
##B1276E1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435170
Deuteranopia (green-blind)
#6A6A6B
Tritanopia (blue-blind)
#BF1547
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1276e;
/* rgb */ color: rgb(177, 39, 110);
/* oklch */ color: oklch(51.6% 0.183 354.5);
Tailwind
colors: {
  custom: {
    50: '#cd7097',
    500: '#b1276e',
    950: '#000000',
  },
}
SCSS
$custom: #b1276e;
$custom-light: #cd7097;
$custom-dark: #000000;
JSON
{
  "hex": "#b1276e",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 329.13,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.1832,
    "h": 354.5
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1276E

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

Preview Lab → · Contrast checker → · Palette generator →

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