#B12596#B12596

#B12596 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.3% C 0.208 H 337.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B12596
RGBrgb(177, 37, 150)
HSLhsl(312, 65%, 42%)
HSVhsv(312, 79%, 69%)
CMYKcmyk(0%, 79.1%, 15.3%, 30.6%)
CIE-LABlab(42.57, 64.86, -29.23)
CIE-LCHlch(42.57, 71.14, 335.74°)
OKLaboklab(53.26% 0.1918 -0.0795)
OKLCHoklch(53.26% 0.208 337.5)
XYZxyz(24.2986, 12.8746, 30.0536)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12596 #25B140
analogous
#8625B1 #B12596 #B12550
triadic
#B12596 #96B125 #2596B1
tetradic
#B12596 #B18625 #25B140 #2550B1
square
#B12596 #B18625 #25B140 #2550B1
split-complementary
#B12596 #50B125 #25B186
monochromatic
#4C1040 #7E1A6B #B12596 #D63DB9 #E16FCB

Accessibility & contrast

On white

5.88
#B12596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B12596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12596
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12596#FFFFFF#000000##FFFFFF
##B125961.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5799
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#BB2E5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12596;
/* rgb */ color: rgb(177, 37, 150);
/* oklch */ color: oklch(53.3% 0.208 337.5);
Tailwind
colors: {
  custom: {
    50: '#cc70b5',
    500: '#b12596',
    950: '#000000',
  },
}
SCSS
$custom: #b12596;
$custom-light: #cc70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12596",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 311.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.2076,
    "h": 337.5
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#B12596
secondary
#6AC87C
accent
#E8603F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B12596

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

Preview Lab → · Contrast checker → · Palette generator →

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