#B12E87#B12E87

#B12E87 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.189 H 343.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B12E87
RGBrgb(177, 46, 135)
HSLhsl(319, 59%, 44%)
HSVhsv(319, 74%, 69%)
CMYKcmyk(0%, 74%, 23.7%, 30.6%)
CIE-LABlab(42.84, 60.11, -19.69)
CIE-LCHlch(42.84, 63.25, 341.86°)
OKLaboklab(53.23% 0.1814 -0.0526)
OKLCHoklch(53.23% 0.189 343.8)
XYZxyz(23.4825, 13.0528, 24.1997)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E87 #2EB158
analogous
#992EB1 #B12E87 #B12E45
triadic
#B12E87 #87B12E #2E87B1
tetradic
#B12E87 #B1992E #2EB158 #2E45B1
square
#B12E87 #B1992E #2EB158 #2E45B1
split-complementary
#B12E87 #45B12E #2EB199
monochromatic
#50153D #802162 #B12E87 #D04CA6 #DD7CBE

Accessibility & contrast

On white

5.82
#B12E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B12E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E87
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E87#FFFFFF#000000##FFFFFF
##B12E871.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5789
Deuteranopia (green-blind)
#656D84
Tritanopia (blue-blind)
#BD2D57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12e87;
/* rgb */ color: rgb(177, 46, 135);
/* oklch */ color: oklch(53.2% 0.189 343.8);
Tailwind
colors: {
  custom: {
    50: '#cc73aa',
    500: '#b12e87',
    950: '#000000',
  },
}
SCSS
$custom: #b12e87;
$custom-light: #cc73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e87",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 319.237,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53228,
    "c": 0.18888,
    "h": 343.8
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#B12E87
secondary
#75C68F
accent
#E27846
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12E87

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

Preview Lab → · Contrast checker → · Palette generator →

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