#B12E81#B12E81

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

Color values

HEX#B12E81
RGBrgb(177, 46, 129)
HSLhsl(322, 59%, 44%)
HSVhsv(322, 74%, 69%)
CMYKcmyk(0%, 74%, 27.1%, 30.6%)
CIE-LABlab(42.59, 59.34, -16.40)
CIE-LCHlch(42.59, 61.56, 344.55°)
OKLaboklab(52.97% 0.1802 -0.0434)
OKLCHoklch(52.97% 0.185 346.5)
XYZxyz(23.0719, 12.8886, 22.0373)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E81 #2EB15E
analogous
#9F2EB1 #B12E81 #B12E3F
triadic
#B12E81 #81B12E #2E81B1
tetradic
#B12E81 #B19F2E #2EB15E #2E3FB1
square
#B12E81 #B19F2E #2EB15E #2E3FB1
split-complementary
#B12E81 #3FB12E #2EB19F
monochromatic
#50153A #80215E #B12E81 #D04CA0 #DD7CBA

Accessibility & contrast

On white

5.87
#B12E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B12E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E81
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E81#FFFFFF#000000##FFFFFF
##B12E811.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405683
Deuteranopia (green-blind)
#676D7E
Tritanopia (blue-blind)
#BD2A54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12e81;
/* rgb */ color: rgb(177, 46, 129);
/* oklch */ color: oklch(53.0% 0.185 346.5);
Tailwind
colors: {
  custom: {
    50: '#cc73a5',
    500: '#b12e81',
    950: '#000000',
  },
}
SCSS
$custom: #b12e81;
$custom-light: #cc73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e81",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 321.985,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.18535,
    "h": 346.5
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#B12E81
secondary
#75C693
accent
#E27F46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12E81

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

Preview Lab → · Contrast checker → · Palette generator →

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