#B12873#B12873

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

Color values

HEX#B12873
RGBrgb(177, 40, 115)
HSLhsl(327, 63%, 43%)
HSVhsv(327, 77%, 69%)
CMYKcmyk(0%, 77.4%, 35%, 30.6%)
CIE-LABlab(41.38, 59.59, -9.59)
CIE-LCHlch(41.38, 60.36, 350.86°)
OKLaboklab(51.91% 0.1828 -0.0247)
OKLCHoklch(51.91% 0.184 352.3)
XYZxyz(21.9861, 12.1052, 17.3951)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12873 #28B166
analogous
#AA28B1 #B12873 #B1282F
triadic
#B12873 #73B128 #2873B1
tetradic
#B12873 #B1AA28 #28B166 #282FB1
square
#B12873 #B1AA28 #28B166 #282FB1
split-complementary
#B12873 #2FB128 #28B1AA
monochromatic
#4D1132 #7F1D53 #B12873 #D44292 #E074AF

Accessibility & contrast

On white

6.14
#B12873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12873
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12873#FFFFFF#000000##FFFFFF
##B128731.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425275
Deuteranopia (green-blind)
#696A70
Tritanopia (blue-blind)
#BF1A4A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12873;
/* rgb */ color: rgb(177, 40, 115);
/* oklch */ color: oklch(51.9% 0.184 352.3);
Tailwind
colors: {
  custom: {
    50: '#cd709b',
    500: '#b12873',
    950: '#000000',
  },
}
SCSS
$custom: #b12873;
$custom-light: #cd709b;
$custom-dark: #000000;
JSON
{
  "hex": "#b12873",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 327.153,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.18447,
    "h": 352.3
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#B12873
secondary
#6EC796
accent
#E68C42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12873

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

Preview Lab → · Contrast checker → · Palette generator →

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