#B12877#B12877

#B12877 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.186 H 350.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B12877
RGBrgb(177, 40, 119)
HSLhsl(325, 63%, 43%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 77.4%, 32.8%, 30.6%)
CIE-LABlab(41.53, 60.04, -11.85)
CIE-LCHlch(41.53, 61.20, 348.84°)
OKLaboklab(52.06% 0.1838 -0.0308)
OKLCHoklch(52.06% 0.186 350.5)
XYZxyz(22.2213, 12.1992, 18.6337)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12877 #28B162
analogous
#A628B1 #B12877 #B12833
triadic
#B12877 #77B128 #2877B1
tetradic
#B12877 #B1A628 #28B162 #2833B1
square
#B12877 #B1A628 #28B162 #2833B1
split-complementary
#B12877 #33B128 #28B1A6
monochromatic
#4D1134 #7F1D55 #B12877 #D44296 #E074B2

Accessibility & contrast

On white

6.11
#B12877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B12877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12877
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12877#FFFFFF#000000##FFFFFF
##B128771.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405279
Deuteranopia (green-blind)
#686B74
Tritanopia (blue-blind)
#BE1D4C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12877;
/* rgb */ color: rgb(177, 40, 119);
/* oklch */ color: oklch(52.1% 0.186 350.5);
Tailwind
colors: {
  custom: {
    50: '#cd709e',
    500: '#b12877',
    950: '#000000',
  },
}
SCSS
$custom: #b12877;
$custom-light: #cd709e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12877",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 325.401,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52064,
    "c": 0.18641,
    "h": 350.5
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#B12877
secondary
#6EC794
accent
#E68742
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12877

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

Preview Lab → · Contrast checker → · Palette generator →

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