#B12E82#B12E82

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

Color values

HEX#B12E82
RGBrgb(177, 46, 130)
HSLhsl(322, 59%, 44%)
HSVhsv(322, 74%, 69%)
CMYKcmyk(0%, 74%, 26.6%, 30.6%)
CIE-LABlab(42.64, 59.46, -16.95)
CIE-LCHlch(42.64, 61.83, 344.09°)
OKLaboklab(53.01% 0.1804 -0.0449)
OKLCHoklch(53.01% 0.186 346)
XYZxyz(23.1387, 12.9153, 22.3891)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E82 #2EB15D
analogous
#9E2EB1 #B12E82 #B12E40
triadic
#B12E82 #82B12E #2E82B1
tetradic
#B12E82 #B19E2E #2EB15D #2E40B1
square
#B12E82 #B19E2E #2EB15D #2E40B1
split-complementary
#B12E82 #40B12E #2EB19E
monochromatic
#50153B #80215E #B12E82 #D04CA1 #DD7CBA

Accessibility & contrast

On white

5.86
#B12E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12E82
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E82#FFFFFF#000000##FFFFFF
##B12E821.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#666D7F
Tritanopia (blue-blind)
#BD2B54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12e82;
/* rgb */ color: rgb(177, 46, 130);
/* oklch */ color: oklch(53.0% 0.186 346.0);
Tailwind
colors: {
  custom: {
    50: '#cc73a6',
    500: '#b12e82',
    950: '#000000',
  },
}
SCSS
$custom: #b12e82;
$custom-light: #cc73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e82",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 321.527,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.18592,
    "h": 346
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#B12E82
secondary
#75C692
accent
#E27E46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B12E82

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

Preview Lab → · Contrast checker → · Palette generator →

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