#B12E95#B12E95

#B12E95 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.198 H 338.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B12E95
RGBrgb(177, 46, 149)
HSLhsl(313, 59%, 44%)
HSVhsv(313, 74%, 69%)
CMYKcmyk(0%, 74%, 15.8%, 30.6%)
CIE-LABlab(43.47, 62.03, -27.23)
CIE-LCHlch(43.47, 67.74, 336.30°)
OKLaboklab(53.89% 0.1836 -0.0739)
OKLCHoklch(53.89% 0.198 338.1)
XYZxyz(24.5338, 13.4734, 29.7365)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E95 #2EB14A
analogous
#8B2EB1 #B12E95 #B12E54
triadic
#B12E95 #95B12E #2E95B1
tetradic
#B12E95 #B18B2E #2EB14A #2E54B1
square
#B12E95 #B18B2E #2EB14A #2E54B1
split-complementary
#B12E95 #54B12E #2EB18B
monochromatic
#501543 #80216C #B12E95 #D04CB4 #DD7CC8

Accessibility & contrast

On white

5.68
#B12E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B12E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E95
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E95#FFFFFF#000000##FFFFFF
##B12E951.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A98
Deuteranopia (green-blind)
#606E92
Tritanopia (blue-blind)
#BB355E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b12e95;
/* rgb */ color: rgb(177, 46, 149);
/* oklch */ color: oklch(53.9% 0.198 338.1);
Tailwind
colors: {
  custom: {
    50: '#cc74b4',
    500: '#b12e95',
    950: '#000000',
  },
}
SCSS
$custom: #b12e95;
$custom-light: #cc74b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e95",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 312.824,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.19787,
    "h": 338.1
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#B12E95
secondary
#75C686
accent
#E26746
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B12E95

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

Preview Lab → · Contrast checker → · Palette generator →

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