#B12876#B12876

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

Color values

HEX#B12876
RGBrgb(177, 40, 118)
HSLhsl(326, 63%, 43%)
HSVhsv(326, 77%, 69%)
CMYKcmyk(0%, 77.4%, 33.3%, 30.6%)
CIE-LABlab(41.49, 59.93, -11.28)
CIE-LCHlch(41.49, 60.98, 349.34°)
OKLaboklab(52.03% 0.1836 -0.0293)
OKLCHoklch(52.03% 0.186 350.9)
XYZxyz(22.1616, 12.1754, 18.3191)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12876 #28B163
analogous
#A728B1 #B12876 #B12832
triadic
#B12876 #76B128 #2876B1
tetradic
#B12876 #B1A728 #28B163 #2832B1
square
#B12876 #B1A728 #28B163 #2832B1
split-complementary
#B12876 #32B128 #28B1A7
monochromatic
#4D1133 #7F1D55 #B12876 #D44295 #E074B1

Accessibility & contrast

On white

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

On black

3.43
#B12876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B12876#FFFFFF#000000##FFFFFF
##B128761.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415278
Deuteranopia (green-blind)
#686B73
Tritanopia (blue-blind)
#BF1D4C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12876;
/* rgb */ color: rgb(177, 40, 118);
/* oklch */ color: oklch(52.0% 0.186 350.9);
Tailwind
colors: {
  custom: {
    50: '#cd709d',
    500: '#b12876',
    950: '#000000',
  },
}
SCSS
$custom: #b12876;
$custom-light: #cd709d;
$custom-dark: #000000;
JSON
{
  "hex": "#b12876",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 325.839,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.18591,
    "h": 350.9
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12876

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

Preview Lab → · Contrast checker → · Palette generator →

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