#B12C86#B12C86

#B12C86 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.190 H 344.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B12C86
RGBrgb(177, 44, 134)
HSLhsl(319, 60%, 43%)
HSVhsv(319, 75%, 69%)
CMYKcmyk(0%, 75.1%, 24.3%, 30.6%)
CIE-LABlab(42.57, 60.63, -19.50)
CIE-LCHlch(42.57, 63.69, 342.17°)
OKLaboklab(53.02% 0.1832 -0.052)
OKLCHoklch(53.02% 0.19 344.1)
XYZxyz(23.3361, 12.8722, 23.8053)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12C86 #2CB157
analogous
#992CB1 #B12C86 #B12C44
triadic
#B12C86 #86B12C #2C86B1
tetradic
#B12C86 #B1992C #2CB157 #2C44B1
square
#B12C86 #B1992C #2CB157 #2C44B1
split-complementary
#B12C86 #44B12C #2CB199
monochromatic
#4F143C #802061 #B12C86 #D249A5 #DE7ABD

Accessibility & contrast

On white

5.88
#B12C86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B12C86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12C86
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12C86#FFFFFF#000000##FFFFFF
##B12C861.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5688
Deuteranopia (green-blind)
#656C83
Tritanopia (blue-blind)
#BD2B55
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12c86;
/* rgb */ color: rgb(177, 44, 134);
/* oklch */ color: oklch(53.0% 0.190 344.1);
Tailwind
colors: {
  custom: {
    50: '#cc72a9',
    500: '#b12c86',
    950: '#000000',
  },
}
SCSS
$custom: #b12c86;
$custom-light: #cc72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b12c86",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 319.398,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.19048,
    "h": 344.1
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#B12C86
secondary
#73C68E
accent
#E37844
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12C86

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

Preview Lab → · Contrast checker → · Palette generator →

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