#B12899#B12899

#B12899 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.207 H 336.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B12899
RGBrgb(177, 40, 153)
HSLhsl(311, 63%, 43%)
HSVhsv(311, 77%, 69%)
CMYKcmyk(0%, 77.4%, 13.6%, 30.6%)
CIE-LABlab(43.01, 64.45, -30.35)
CIE-LCHlch(43.01, 71.24, 334.78°)
OKLaboklab(53.62% 0.1895 -0.0828)
OKLCHoklch(53.62% 0.207 336.4)
XYZxyz(24.6405, 13.1669, 31.3746)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12899 #28B140
analogous
#8528B1 #B12899 #B12854
triadic
#B12899 #99B128 #2899B1
tetradic
#B12899 #B18528 #28B140 #2854B1
square
#B12899 #B18528 #28B140 #2854B1
split-complementary
#B12899 #54B128 #28B185
monochromatic
#4D1143 #7F1D6E #B12899 #D442BB #E074CD

Accessibility & contrast

On white

5.78
#B12899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12899
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12899#FFFFFF#000000##FFFFFF
##B128991.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#BA325F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b12899;
/* rgb */ color: rgb(177, 40, 153);
/* oklch */ color: oklch(53.6% 0.207 336.4);
Tailwind
colors: {
  custom: {
    50: '#cc72b7',
    500: '#b12899',
    950: '#000000',
  },
}
SCSS
$custom: #b12899;
$custom-light: #cc72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12899",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 310.511,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.20678,
    "h": 336.4
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#B12899
secondary
#6EC77E
accent
#E65E42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B12899

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

Preview Lab → · Contrast checker → · Palette generator →

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