#B12878#B12878

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

Color values

HEX#B12878
RGBrgb(177, 40, 120)
HSLhsl(325, 63%, 43%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 77.4%, 32.2%, 30.6%)
CIE-LABlab(41.57, 60.16, -12.41)
CIE-LCHlch(41.57, 61.42, 348.34°)
OKLaboklab(52.1% 0.1841 -0.0324)
OKLCHoklch(52.1% 0.187 350)
XYZxyz(22.2817, 12.2234, 18.9516)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12878 #28B161
analogous
#A628B1 #B12878 #B12833
triadic
#B12878 #78B128 #2878B1
tetradic
#B12878 #B1A628 #28B161 #2833B1
square
#B12878 #B1A628 #28B161 #2833B1
split-complementary
#B12878 #33B128 #28B1A6
monochromatic
#4D1134 #7F1D56 #B12878 #D44297 #E074B3

Accessibility & contrast

On white

6.10
#B12878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12878
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12878#FFFFFF#000000##FFFFFF
##B128781.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#676B75
Tritanopia (blue-blind)
#BE1E4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12878;
/* rgb */ color: rgb(177, 40, 120);
/* oklch */ color: oklch(52.1% 0.187 350.0);
Tailwind
colors: {
  custom: {
    50: '#cd709f',
    500: '#b12878',
    950: '#000000',
  },
}
SCSS
$custom: #b12878;
$custom-light: #cd709f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12878",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 324.964,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.18692,
    "h": 350
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#B12878
secondary
#6EC793
accent
#E68642
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12878

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

Preview Lab → · Contrast checker → · Palette generator →

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