#B1277C#B1277C

#B1277C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.190 H 348.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B1277C
RGBrgb(177, 39, 124)
HSLhsl(323, 64%, 42%)
HSVhsv(323, 78%, 69%)
CMYKcmyk(0%, 78%, 29.9%, 30.6%)
CIE-LABlab(41.62, 60.92, -14.81)
CIE-LCHlch(41.62, 62.70, 346.34°)
OKLaboklab(52.19% 0.186 -0.039)
OKLCHoklch(52.19% 0.19 348.2)
XYZxyz(22.4962, 12.2560, 20.2458)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1277C #27B15C
analogous
#A127B1 #B1277C #B12737
triadic
#B1277C #7CB127 #277CB1
tetradic
#B1277C #B1A127 #27B15C #2737B1
square
#B1277C #B1A127 #27B15C #2737B1
split-complementary
#B1277C #37B127 #27B1A1
monochromatic
#4D1136 #7F1C59 #B1277C #D5409C #E072B6

Accessibility & contrast

On white

6.09
#B1277C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B1277C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1277C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1277C#FFFFFF#000000##FFFFFF
##B1277C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#BE204F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b1277c;
/* rgb */ color: rgb(177, 39, 124);
/* oklch */ color: oklch(52.2% 0.190 348.2);
Tailwind
colors: {
  custom: {
    50: '#cd70a2',
    500: '#b1277c',
    950: '#000000',
  },
}
SCSS
$custom: #b1277c;
$custom-light: #cd70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1277c",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 323.043,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.19,
    "h": 348.2
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#B1277C
secondary
#6DC78F
accent
#E78141
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #B1277C

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

Preview Lab → · Contrast checker → · Palette generator →

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