#B12588#B12588

#B12588 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.6% C 0.199 H 343.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B12588
RGBrgb(177, 37, 136)
HSLhsl(318, 65%, 42%)
HSVhsv(318, 79%, 69%)
CMYKcmyk(0%, 79.1%, 23.2%, 30.6%)
CIE-LABlab(41.92, 62.98, -21.72)
CIE-LCHlch(41.92, 66.62, 340.97°)
OKLaboklab(52.58% 0.19 -0.0582)
OKLCHoklch(52.58% 0.199 343)
XYZxyz(23.2379, 12.4503, 24.4671)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12588 #25B14E
analogous
#9425B1 #B12588 #B12542
triadic
#B12588 #88B125 #2588B1
tetradic
#B12588 #B19425 #25B14E #2542B1
square
#B12588 #B19425 #25B14E #2542B1
split-complementary
#B12588 #42B125 #25B194
monochromatic
#4C103A #7E1A61 #B12588 #D63DA9 #E16FC0

Accessibility & contrast

On white

6.02
#B12588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B12588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12588
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12588#FFFFFF#000000##FFFFFF
##B125881.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#626B85
Tritanopia (blue-blind)
#BD2654
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b12588;
/* rgb */ color: rgb(177, 37, 136);
/* oklch */ color: oklch(52.6% 0.199 343.0);
Tailwind
colors: {
  custom: {
    50: '#cd70ab',
    500: '#b12588',
    950: '#000000',
  },
}
SCSS
$custom: #b12588;
$custom-light: #cd70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b12588",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 317.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52576,
    "c": 0.19874,
    "h": 343
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#B12588
secondary
#6AC886
accent
#E8713F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B12588

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

Preview Lab → · Contrast checker → · Palette generator →

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