#B02878#B02878

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

Color values

HEX#B02878
RGBrgb(176, 40, 120)
HSLhsl(325, 63%, 42%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 77.3%, 31.8%, 31%)
CIE-LABlab(41.38, 59.90, -12.71)
CIE-LCHlch(41.38, 61.23, 348.02°)
OKLaboklab(51.94% 0.1832 -0.0332)
OKLCHoklch(51.94% 0.186 349.7)
XYZxyz(22.0547, 12.1063, 18.9410)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02878 #28B060
analogous
#A428B0 #B02878 #B02834
triadic
#B02878 #78B028 #2878B0
tetradic
#B02878 #B0A428 #28B060 #2834B0
square
#B02878 #B0A428 #28B060 #2834B0
split-complementary
#B02878 #34B028 #28B0A4
monochromatic
#4C1134 #7E1D56 #B02878 #D44198 #DF73B3

Accessibility & contrast

On white

6.14
#B02878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02878
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02878#FFFFFF#000000##FFFFFF
##B028781.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#676A75
Tritanopia (blue-blind)
#BD1F4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02878;
/* rgb */ color: rgb(176, 40, 120);
/* oklch */ color: oklch(51.9% 0.186 349.7);
Tailwind
colors: {
  custom: {
    50: '#cc709f',
    500: '#b02878',
    950: '#000000',
  },
}
SCSS
$custom: #b02878;
$custom-light: #cc709f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02878",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 324.706,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51936,
    "c": 0.1862,
    "h": 349.7
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#B02878
secondary
#6DC692
accent
#E68542
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02878

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

Preview Lab → · Contrast checker → · Palette generator →

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