#B12571#B12571

#B12571 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.186 H 353.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B12571
RGBrgb(177, 37, 113)
HSLhsl(327, 65%, 42%)
HSVhsv(327, 79%, 69%)
CMYKcmyk(0%, 79.1%, 36.2%, 30.6%)
CIE-LABlab(41.00, 60.25, -8.91)
CIE-LCHlch(41.00, 60.91, 351.58°)
OKLaboklab(51.61% 0.1851 -0.0229)
OKLCHoklch(51.61% 0.186 353)
XYZxyz(21.7751, 11.8652, 16.7631)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12571 #25B165
analogous
#AB25B1 #B12571 #B1252B
triadic
#B12571 #71B125 #2571B1
tetradic
#B12571 #B1AB25 #25B165 #252BB1
square
#B12571 #B1AB25 #25B165 #252BB1
split-complementary
#B12571 #2BB125 #25B1AB
monochromatic
#4C1030 #7E1A51 #B12571 #D63D90 #E16FAD

Accessibility & contrast

On white

6.23
#B12571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B12571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12571
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12571#FFFFFF#000000##FFFFFF
##B125711.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#686A6E
Tritanopia (blue-blind)
#BF1448
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12571;
/* rgb */ color: rgb(177, 37, 113);
/* oklch */ color: oklch(51.6% 0.186 353.0);
Tailwind
colors: {
  custom: {
    50: '#cd6f99',
    500: '#b12571',
    950: '#000000',
  },
}
SCSS
$custom: #b12571;
$custom-light: #cd6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#b12571",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 327.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51606,
    "c": 0.18647,
    "h": 353
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#B12571
secondary
#6AC895
accent
#E88D3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12571

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

Preview Lab → · Contrast checker → · Palette generator →

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