#B12879#B12879

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

Color values

HEX#B12879
RGBrgb(177, 40, 121)
HSLhsl(325, 63%, 43%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 77.4%, 31.6%, 30.6%)
CIE-LABlab(41.61, 60.27, -12.97)
CIE-LCHlch(41.61, 61.65, 347.85°)
OKLaboklab(52.15% 0.1843 -0.0339)
OKLCHoklch(52.15% 0.187 349.6)
XYZxyz(22.3427, 12.2478, 19.2729)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12879 #28B160
analogous
#A528B1 #B12879 #B12834
triadic
#B12879 #79B128 #2879B1
tetradic
#B12879 #B1A528 #28B160 #2834B1
square
#B12879 #B1A528 #28B160 #2834B1
split-complementary
#B12879 #34B128 #28B1A5
monochromatic
#4D1135 #7F1D57 #B12879 #D44298 #E074B4

Accessibility & contrast

On white

6.09
#B12879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B12879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12879
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12879#FFFFFF#000000##FFFFFF
##B128791.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537B
Deuteranopia (green-blind)
#676B76
Tritanopia (blue-blind)
#BE1F4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12879;
/* rgb */ color: rgb(177, 40, 121);
/* oklch */ color: oklch(52.1% 0.187 349.6);
Tailwind
colors: {
  custom: {
    50: '#cd709f',
    500: '#b12879',
    950: '#000000',
  },
}
SCSS
$custom: #b12879;
$custom-light: #cd709f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12879",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 324.526,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.18742,
    "h": 349.6
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#B12879
secondary
#6EC792
accent
#E68542
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12879

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

Preview Lab → · Contrast checker → · Palette generator →

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