#B12E8A#B12E8A

#B12E8A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.4% C 0.191 H 342.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B12E8A
RGBrgb(177, 46, 138)
HSLhsl(318, 59%, 44%)
HSVhsv(318, 74%, 69%)
CMYKcmyk(0%, 74%, 22%, 30.6%)
CIE-LABlab(42.97, 60.51, -21.33)
CIE-LCHlch(42.97, 64.15, 340.58°)
OKLaboklab(53.36% 0.182 -0.0572)
OKLCHoklch(53.36% 0.191 342.6)
XYZxyz(23.6967, 13.1385, 25.3278)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E8A #2EB155
analogous
#962EB1 #B12E8A #B12E48
triadic
#B12E8A #8AB12E #2E8AB1
tetradic
#B12E8A #B1962E #2EB155 #2E48B1
square
#B12E8A #B1962E #2EB155 #2E48B1
split-complementary
#B12E8A #48B12E #2EB196
monochromatic
#50153E #802164 #B12E8A #D04CA9 #DD7CC0

Accessibility & contrast

On white

5.79
#B12E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B12E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E8A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E8A#FFFFFF#000000##FFFFFF
##B12E8A1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588D
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#BC2F58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12e8a;
/* rgb */ color: rgb(177, 46, 138);
/* oklch */ color: oklch(53.4% 0.191 342.6);
Tailwind
colors: {
  custom: {
    50: '#cc73ac',
    500: '#b12e8a',
    950: '#000000',
  },
}
SCSS
$custom: #b12e8a;
$custom-light: #cc73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e8a",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 317.863,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.19072,
    "h": 342.6
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#B12E8A
secondary
#75C68D
accent
#E27446
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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