#B1277D#B1277D

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

Color values

HEX#B1277D
RGBrgb(177, 39, 125)
HSLhsl(323, 64%, 42%)
HSVhsv(323, 78%, 69%)
CMYKcmyk(0%, 78%, 29.4%, 30.6%)
CIE-LABlab(41.66, 61.04, -15.37)
CIE-LCHlch(41.66, 62.95, 345.87°)
OKLaboklab(52.23% 0.1862 -0.0405)
OKLCHoklch(52.23% 0.191 347.7)
XYZxyz(22.5598, 12.2814, 20.5806)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1277D #27B15B
analogous
#A027B1 #B1277D #B12738
triadic
#B1277D #7DB127 #277DB1
tetradic
#B1277D #B1A027 #27B15B #2738B1
square
#B1277D #B1A027 #27B15B #2738B1
split-complementary
#B1277D #38B127 #27B1A0
monochromatic
#4D1136 #7F1C5A #B1277D #D5409D #E072B7

Accessibility & contrast

On white

6.08
#B1277D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B1277D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1277D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1277D#FFFFFF#000000##FFFFFF
##B1277D1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1277d;
/* rgb */ color: rgb(177, 39, 125);
/* oklch */ color: oklch(52.2% 0.191 347.7);
Tailwind
colors: {
  custom: {
    50: '#cd70a2',
    500: '#b1277d',
    950: '#000000',
  },
}
SCSS
$custom: #b1277d;
$custom-light: #cd70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1277d",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 322.609,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.19053,
    "h": 347.7
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#B1277D
secondary
#6DC78F
accent
#E77F41
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B1277D

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

Preview Lab → · Contrast checker → · Palette generator →

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