#B02778#B02778

#B02778 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.187 H 349.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B02778
RGBrgb(176, 39, 120)
HSLhsl(325, 64%, 42%)
HSVhsv(325, 78%, 69%)
CMYKcmyk(0%, 77.8%, 31.8%, 31%)
CIE-LABlab(41.28, 60.20, -12.87)
CIE-LCHlch(41.28, 61.56, 347.94°)
OKLaboklab(51.86% 0.1842 -0.0336)
OKLCHoklch(51.86% 0.187 349.6)
XYZxyz(22.0214, 12.0398, 18.9299)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02778 #27B05F
analogous
#A427B0 #B02778 #B02733
triadic
#B02778 #78B027 #2778B0
tetradic
#B02778 #B0A427 #27B05F #2733B0
square
#B02778 #B0A427 #27B05F #2733B0
split-complementary
#B02778 #33B027 #27B0A4
monochromatic
#4C1134 #7E1C56 #B02778 #D54098 #E072B3

Accessibility & contrast

On white

6.16
#B02778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B02778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02778
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02778#FFFFFF#000000##FFFFFF
##B027781.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#666A75
Tritanopia (blue-blind)
#BD1D4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02778;
/* rgb */ color: rgb(176, 39, 120);
/* oklch */ color: oklch(51.9% 0.187 349.6);
Tailwind
colors: {
  custom: {
    50: '#cc709f',
    500: '#b02778',
    950: '#000000',
  },
}
SCSS
$custom: #b02778;
$custom-light: #cc709f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02778",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 324.526,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.18721,
    "h": 349.6
  },
  "luminance": 0.12037
}

Semantic roles & 50–950 ramp

primary
#B02778
secondary
#6CC791
accent
#E78541
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02778

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

Preview Lab → · Contrast checker → · Palette generator →

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