#B12778#B12778

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

Color values

HEX#B12778
RGBrgb(177, 39, 120)
HSLhsl(325, 64%, 42%)
HSVhsv(325, 78%, 69%)
CMYKcmyk(0%, 78%, 32.2%, 30.6%)
CIE-LABlab(41.46, 60.45, -12.57)
CIE-LCHlch(41.46, 61.75, 348.26°)
OKLaboklab(52.03% 0.185 -0.0328)
OKLCHoklch(52.03% 0.188 349.9)
XYZxyz(22.2484, 12.1569, 18.9405)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12778 #27B160
analogous
#A527B1 #B12778 #B12733
triadic
#B12778 #78B127 #2778B1
tetradic
#B12778 #B1A527 #27B160 #2733B1
square
#B12778 #B1A527 #27B160 #2733B1
split-complementary
#B12778 #33B127 #27B1A5
monochromatic
#4D1134 #7F1C56 #B12778 #D54098 #E072B3

Accessibility & contrast

On white

6.12
#B12778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12778
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12778#FFFFFF#000000##FFFFFF
##B127781.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#676B75
Tritanopia (blue-blind)
#BE1D4C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12778;
/* rgb */ color: rgb(177, 39, 120);
/* oklch */ color: oklch(52.0% 0.188 349.9);
Tailwind
colors: {
  custom: {
    50: '#cd709f',
    500: '#b12778',
    950: '#000000',
  },
}
SCSS
$custom: #b12778;
$custom-light: #cd709f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12778",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 324.783,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.18791,
    "h": 349.9
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

primary
#B12778
secondary
#6DC792
accent
#E78541
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12778

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

Preview Lab → · Contrast checker → · Palette generator →

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