#B12E79#B12E79

#B12E79 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.181 H 350.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B12E79
RGBrgb(177, 46, 121)
HSLhsl(326, 59%, 44%)
HSVhsv(326, 74%, 69%)
CMYKcmyk(0%, 74%, 31.6%, 30.6%)
CIE-LABlab(42.28, 58.36, -11.95)
CIE-LCHlch(42.28, 59.57, 348.43°)
OKLaboklab(52.64% 0.1783 -0.0311)
OKLCHoklch(52.64% 0.181 350.1)
XYZxyz(22.5609, 12.6842, 19.3456)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E79 #2EB166
analogous
#A72EB1 #B12E79 #B12E37
triadic
#B12E79 #79B12E #2E79B1
tetradic
#B12E79 #B1A72E #2EB166 #2E37B1
square
#B12E79 #B1A72E #2EB166 #2E37B1
split-complementary
#B12E79 #37B12E #2EB1A7
monochromatic
#501537 #802158 #B12E79 #D04C98 #DD7CB4

Accessibility & contrast

On white

5.94
#B12E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B12E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E79
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E79#FFFFFF#000000##FFFFFF
##B12E791.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#696C76
Tritanopia (blue-blind)
#BE264F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12e79;
/* rgb */ color: rgb(177, 46, 121);
/* oklch */ color: oklch(52.6% 0.181 350.1);
Tailwind
colors: {
  custom: {
    50: '#cd739f',
    500: '#b12e79',
    950: '#000000',
  },
}
SCSS
$custom: #b12e79;
$custom-light: #cd739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e79",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 325.649,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.18102,
    "h": 350.1
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#B12E79
secondary
#75C698
accent
#E28946
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B12E79

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

Preview Lab → · Contrast checker → · Palette generator →

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