#B12E84#B12E84

#B12E84 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.187 H 345.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B12E84
RGBrgb(177, 46, 132)
HSLhsl(321, 59%, 44%)
HSVhsv(321, 74%, 69%)
CMYKcmyk(0%, 74%, 25.4%, 30.6%)
CIE-LABlab(42.72, 59.72, -18.05)
CIE-LCHlch(42.72, 62.39, 343.18°)
OKLaboklab(53.1% 0.1808 -0.048)
OKLCHoklch(53.1% 0.187 345.1)
XYZxyz(23.2743, 12.9695, 23.1030)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E84 #2EB15B
analogous
#9C2EB1 #B12E84 #B12E42
triadic
#B12E84 #84B12E #2E84B1
tetradic
#B12E84 #B19C2E #2EB15B #2E42B1
square
#B12E84 #B19C2E #2EB15B #2E42B1
split-complementary
#B12E84 #42B12E #2EB19C
monochromatic
#50153C #802160 #B12E84 #D04CA3 #DD7CBC

Accessibility & contrast

On white

5.84
#B12E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B12E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E84
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E84#FFFFFF#000000##FFFFFF
##B12E841.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5786
Deuteranopia (green-blind)
#666D81
Tritanopia (blue-blind)
#BD2C55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12e84;
/* rgb */ color: rgb(177, 46, 132);
/* oklch */ color: oklch(53.1% 0.187 345.1);
Tailwind
colors: {
  custom: {
    50: '#cc73a8',
    500: '#b12e84',
    950: '#000000',
  },
}
SCSS
$custom: #b12e84;
$custom-light: #cc73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e84",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 320.611,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.18709,
    "h": 345.1
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#B12E84
secondary
#75C691
accent
#E27B46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12E84

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

Preview Lab → · Contrast checker → · Palette generator →

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