#B02571#B02571

#B02571 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.186 H 352.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B02571
RGBrgb(176, 37, 113)
HSLhsl(327, 65%, 42%)
HSVhsv(327, 79%, 69%)
CMYKcmyk(0%, 79%, 35.8%, 31%)
CIE-LABlab(40.81, 59.99, -9.22)
CIE-LCHlch(40.81, 60.70, 351.27°)
OKLaboklab(51.43% 0.1842 -0.0237)
OKLCHoklch(51.43% 0.186 352.7)
XYZxyz(21.5481, 11.7482, 16.7525)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02571 #25B064
analogous
#AA25B0 #B02571 #B0252C
triadic
#B02571 #71B025 #2571B0
tetradic
#B02571 #B0AA25 #25B064 #252CB0
square
#B02571 #B0AA25 #25B064 #252CB0
split-complementary
#B02571 #2CB025 #25B0AA
monochromatic
#4B1030 #7D1A51 #B02571 #D63C90 #E16FAD

Accessibility & contrast

On white

6.27
#B02571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B02571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02571
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02571#FFFFFF#000000##FFFFFF
##B025711.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#BE1548
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02571;
/* rgb */ color: rgb(176, 37, 113);
/* oklch */ color: oklch(51.4% 0.186 352.7);
Tailwind
colors: {
  custom: {
    50: '#cd6f99',
    500: '#b02571',
    950: '#000000',
  },
}
SCSS
$custom: #b02571;
$custom-light: #cd6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#b02571",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 327.194,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.18574,
    "h": 352.7
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#B02571
secondary
#6AC794
accent
#E88C40
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02571

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

Preview Lab → · Contrast checker → · Palette generator →

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