#B12978#B12978

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

Color values

HEX#B12978
RGBrgb(177, 41, 120)
HSLhsl(325, 62%, 43%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 76.8%, 32.2%, 30.6%)
CIE-LABlab(41.68, 59.85, -12.25)
CIE-LCHlch(41.68, 61.09, 348.44°)
OKLaboklab(52.18% 0.1831 -0.0319)
OKLCHoklch(52.18% 0.186 350.1)
XYZxyz(22.3158, 12.2917, 18.9630)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12978 #29B162
analogous
#A629B1 #B12978 #B12934
triadic
#B12978 #78B129 #2978B1
tetradic
#B12978 #B1A629 #29B162 #2934B1
square
#B12978 #B1A629 #29B162 #2934B1
split-complementary
#B12978 #34B129 #29B1A6
monochromatic
#4E1235 #7F1D56 #B12978 #D44497 #DF75B3

Accessibility & contrast

On white

6.07
#B12978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12978
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12978#FFFFFF#000000##FFFFFF
##B129781.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12978;
/* rgb */ color: rgb(177, 41, 120);
/* oklch */ color: oklch(52.2% 0.186 350.1);
Tailwind
colors: {
  custom: {
    50: '#cd719f',
    500: '#b12978',
    950: '#000000',
  },
}
SCSS
$custom: #b12978;
$custom-light: #cd719f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12978",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 325.147,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.1859,
    "h": 350.1
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#B12978
secondary
#6FC794
accent
#E58742
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B12978

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

Preview Lab → · Contrast checker → · Palette generator →

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