#B12872#B12872

#B12872 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.184 H 352.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B12872
RGBrgb(177, 40, 114)
HSLhsl(328, 63%, 43%)
HSVhsv(328, 77%, 69%)
CMYKcmyk(0%, 77.4%, 35.6%, 30.6%)
CIE-LABlab(41.35, 59.48, -9.02)
CIE-LCHlch(41.35, 60.16, 351.38°)
OKLaboklab(51.87% 0.1825 -0.0232)
OKLCHoklch(51.87% 0.184 352.8)
XYZxyz(21.9289, 12.0823, 17.0937)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12872 #28B167
analogous
#AB28B1 #B12872 #B1282E
triadic
#B12872 #72B128 #2872B1
tetradic
#B12872 #B1AB28 #28B167 #282EB1
square
#B12872 #B1AB28 #28B167 #282EB1
split-complementary
#B12872 #2EB128 #28B1AB
monochromatic
#4D1132 #7F1D52 #B12872 #D44291 #E074AE

Accessibility & contrast

On white

6.15
#B12872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B12872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12872
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12872#FFFFFF#000000##FFFFFF
##B128721.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425274
Deuteranopia (green-blind)
#696A6F
Tritanopia (blue-blind)
#BF1A4A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12872;
/* rgb */ color: rgb(177, 40, 114);
/* oklch */ color: oklch(51.9% 0.184 352.8);
Tailwind
colors: {
  custom: {
    50: '#cd709a',
    500: '#b12872',
    950: '#000000',
  },
}
SCSS
$custom: #b12872;
$custom-light: #cd709a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12872",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 327.591,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.184,
    "h": 352.8
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#B12872
secondary
#6EC797
accent
#E68D42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12872

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

Preview Lab → · Contrast checker → · Palette generator →

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