#B02879#B02879

#B02879 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.187 H 349.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B02879
RGBrgb(176, 40, 121)
HSLhsl(324, 63%, 42%)
HSVhsv(324, 77%, 69%)
CMYKcmyk(0%, 77.3%, 31.3%, 31%)
CIE-LABlab(41.42, 60.02, -13.27)
CIE-LCHlch(41.42, 61.47, 347.53°)
OKLaboklab(51.98% 0.1835 -0.0347)
OKLCHoklch(51.98% 0.187 349.3)
XYZxyz(22.1157, 12.1308, 19.2623)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02879 #28B05F
analogous
#A328B0 #B02879 #B02835
triadic
#B02879 #79B028 #2879B0
tetradic
#B02879 #B0A328 #28B05F #2835B0
square
#B02879 #B0A328 #28B05F #2835B0
split-complementary
#B02879 #35B028 #28B0A3
monochromatic
#4C1134 #7E1D57 #B02879 #D44199 #DF73B4

Accessibility & contrast

On white

6.13
#B02879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B02879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02879
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02879#FFFFFF#000000##FFFFFF
##B028791.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527B
Deuteranopia (green-blind)
#666A76
Tritanopia (blue-blind)
#BD1F4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02879;
/* rgb */ color: rgb(176, 40, 121);
/* oklch */ color: oklch(52.0% 0.187 349.3);
Tailwind
colors: {
  custom: {
    50: '#cc709f',
    500: '#b02879',
    950: '#000000',
  },
}
SCSS
$custom: #b02879;
$custom-light: #cc709f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02879",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 324.265,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.18672,
    "h": 349.3
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#B02879
secondary
#6DC691
accent
#E68442
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02879

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

Preview Lab → · Contrast checker → · Palette generator →

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