#B12E88#B12E88

#B12E88 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.189 H 343.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B12E88
RGBrgb(177, 46, 136)
HSLhsl(319, 59%, 44%)
HSVhsv(319, 74%, 69%)
CMYKcmyk(0%, 74%, 23.2%, 30.6%)
CIE-LABlab(42.89, 60.24, -20.24)
CIE-LCHlch(42.89, 63.55, 341.43°)
OKLaboklab(53.27% 0.1816 -0.0541)
OKLCHoklch(53.27% 0.189 343.4)
XYZxyz(23.5533, 13.0811, 24.5723)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E88 #2EB157
analogous
#982EB1 #B12E88 #B12E46
triadic
#B12E88 #88B12E #2E88B1
tetradic
#B12E88 #B1982E #2EB157 #2E46B1
square
#B12E88 #B1982E #2EB157 #2E46B1
split-complementary
#B12E88 #46B12E #2EB198
monochromatic
#50153D #802163 #B12E88 #D04CA7 #DD7CBF

Accessibility & contrast

On white

5.81
#B12E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B12E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E88
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E88#FFFFFF#000000##FFFFFF
##B12E881.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C578A
Deuteranopia (green-blind)
#656D85
Tritanopia (blue-blind)
#BD2E57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b12e88;
/* rgb */ color: rgb(177, 46, 136);
/* oklch */ color: oklch(53.3% 0.189 343.4);
Tailwind
colors: {
  custom: {
    50: '#cc73ab',
    500: '#b12e88',
    950: '#000000',
  },
}
SCSS
$custom: #b12e88;
$custom-light: #cc73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e88",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 318.779,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53273,
    "c": 0.18949,
    "h": 343.4
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#B12E88
secondary
#75C68E
accent
#E27746
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B12E88

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

Preview Lab → · Contrast checker → · Palette generator →

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