#B02877#B02877

#B02877 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.186 H 350.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B02877
RGBrgb(176, 40, 119)
HSLhsl(325, 63%, 42%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 77.3%, 32.4%, 31%)
CIE-LABlab(41.35, 59.79, -12.14)
CIE-LCHlch(41.35, 61.01, 348.52°)
OKLaboklab(51.9% 0.183 -0.0317)
OKLCHoklch(51.9% 0.186 350.2)
XYZxyz(21.9943, 12.0822, 18.6230)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02877 #28B061
analogous
#A528B0 #B02877 #B02833
triadic
#B02877 #77B028 #2877B0
tetradic
#B02877 #B0A528 #28B061 #2833B0
square
#B02877 #B0A528 #28B061 #2833B0
split-complementary
#B02877 #33B028 #28B0A5
monochromatic
#4C1134 #7E1D55 #B02877 #D44196 #DF73B2

Accessibility & contrast

On white

6.15
#B02877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B02877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02877
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02877#FFFFFF#000000##FFFFFF
##B028771.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405279
Deuteranopia (green-blind)
#676A74
Tritanopia (blue-blind)
#BD1E4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02877;
/* rgb */ color: rgb(176, 40, 119);
/* oklch */ color: oklch(51.9% 0.186 350.2);
Tailwind
colors: {
  custom: {
    50: '#cc709e',
    500: '#b02877',
    950: '#000000',
  },
}
SCSS
$custom: #b02877;
$custom-light: #cc709e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02877",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 325.147,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.18569,
    "h": 350.2
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#B02877
secondary
#6DC693
accent
#E68742
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02877

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

Preview Lab → · Contrast checker → · Palette generator →

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