#B02799#B02799

#B02799 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.207 H 336.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B02799
RGBrgb(176, 39, 153)
HSLhsl(310, 64%, 42%)
HSVhsv(310, 78%, 69%)
CMYKcmyk(0%, 77.8%, 13.1%, 31%)
CIE-LABlab(42.74, 64.51, -30.80)
CIE-LCHlch(42.74, 71.48, 334.48°)
OKLaboklab(53.39% 0.1894 -0.084)
OKLCHoklch(53.39% 0.207 336.1)
XYZxyz(24.3802, 12.9833, 31.3528)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02799 #27B03E
analogous
#8327B0 #B02799 #B02755
triadic
#B02799 #99B027 #2799B0
tetradic
#B02799 #B08327 #27B03E #2755B0
square
#B02799 #B08327 #27B03E #2755B0
split-complementary
#B02799 #55B027 #27B083
monochromatic
#4C1142 #7E1C6D #B02799 #D540BC #E072CD

Accessibility & contrast

On white

5.84
#B02799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B02799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02799
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02799#FFFFFF#000000##FFFFFF
##B027991.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#5B6C96
Tritanopia (blue-blind)
#B9325E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02799;
/* rgb */ color: rgb(176, 39, 153);
/* oklch */ color: oklch(53.4% 0.207 336.1);
Tailwind
colors: {
  custom: {
    50: '#cc71b7',
    500: '#b02799',
    950: '#000000',
  },
}
SCSS
$custom: #b02799;
$custom-light: #cc71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02799",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 310.073,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.20719,
    "h": 336.1
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#B02799
secondary
#6CC77B
accent
#E75D41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02799

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

Preview Lab → · Contrast checker → · Palette generator →

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