#B02B78#B02B78

#B02B78 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.183 H 350.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B02B78
RGBrgb(176, 43, 120)
HSLhsl(325, 61%, 43%)
HSVhsv(325, 76%, 69%)
CMYKcmyk(0%, 75.6%, 31.8%, 31%)
CIE-LABlab(41.71, 58.97, -12.21)
CIE-LCHlch(41.71, 60.22, 348.30°)
OKLaboklab(52.18% 0.1803 -0.0319)
OKLCHoklch(52.18% 0.183 350)
XYZxyz(22.1598, 12.3165, 18.9760)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B78 #2BB063
analogous
#A52BB0 #B02B78 #B02B35
triadic
#B02B78 #78B02B #2B78B0
tetradic
#B02B78 #B0A52B #2BB063 #2B35B0
square
#B02B78 #B0A52B #2BB063 #2B35B0
split-complementary
#B02B78 #35B02B #2BB0A5
monochromatic
#4E1335 #7F1F56 #B02B78 #D24697 #DE78B3

Accessibility & contrast

On white

6.06
#B02B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B02B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B78
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B78#FFFFFF#000000##FFFFFF
##B02B781.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537A
Deuteranopia (green-blind)
#686B75
Tritanopia (blue-blind)
#BD224E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02b78;
/* rgb */ color: rgb(176, 43, 120);
/* oklch */ color: oklch(52.2% 0.183 350.0);
Tailwind
colors: {
  custom: {
    50: '#cc719f',
    500: '#b02b78',
    950: '#000000',
  },
}
SCSS
$custom: #b02b78;
$custom-light: #cc719f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b78",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 325.263,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.18307,
    "h": 350
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#B02B78
secondary
#71C695
accent
#E48744
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B02B78

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

Preview Lab → · Contrast checker → · Palette generator →

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