#B02788#B02788

#B02788 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.196 H 342.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B02788
RGBrgb(176, 39, 136)
HSLhsl(318, 64%, 42%)
HSVhsv(318, 78%, 69%)
CMYKcmyk(0%, 77.8%, 22.7%, 31%)
CIE-LABlab(41.94, 62.17, -21.71)
CIE-LCHlch(41.94, 65.86, 340.75°)
OKLaboklab(52.55% 0.1874 -0.0582)
OKLCHoklch(52.55% 0.196 342.7)
XYZxyz(23.0748, 12.4612, 24.4778)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02788 #27B04F
analogous
#9327B0 #B02788 #B02744
triadic
#B02788 #88B027 #2788B0
tetradic
#B02788 #B09327 #27B04F #2744B0
square
#B02788 #B09327 #27B04F #2744B0
split-complementary
#B02788 #44B027 #27B093
monochromatic
#4C113B #7E1C61 #B02788 #D540A9 #E072C0

Accessibility & contrast

On white

6.01
#B02788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B02788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02788
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02788#FFFFFF#000000##FFFFFF
##B027881.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558B
Deuteranopia (green-blind)
#616B85
Tritanopia (blue-blind)
#BB2855
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02788;
/* rgb */ color: rgb(176, 39, 136);
/* oklch */ color: oklch(52.6% 0.196 342.7);
Tailwind
colors: {
  custom: {
    50: '#cc70ab',
    500: '#b02788',
    950: '#000000',
  },
}
SCSS
$custom: #b02788;
$custom-light: #cc70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b02788",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 317.518,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.19621,
    "h": 342.7
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#B02788
secondary
#6CC787
accent
#E77141
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02788

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

Preview Lab → · Contrast checker → · Palette generator →

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