#B02899#B02899

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

Color values

HEX#B02899
RGBrgb(176, 40, 153)
HSLhsl(310, 63%, 42%)
HSVhsv(310, 77%, 69%)
CMYKcmyk(0%, 77.3%, 13.1%, 31%)
CIE-LABlab(42.84, 64.22, -30.64)
CIE-LCHlch(42.84, 71.16, 334.49°)
OKLaboklab(53.46% 0.1885 -0.0836)
OKLCHoklch(53.46% 0.206 336.1)
XYZxyz(24.4135, 13.0499, 31.3639)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02899 #28B03F
analogous
#8328B0 #B02899 #B02855
triadic
#B02899 #99B028 #2899B0
tetradic
#B02899 #B08328 #28B03F #2855B0
square
#B02899 #B08328 #28B03F #2855B0
split-complementary
#B02899 #55B028 #28B083
monochromatic
#4C1142 #7E1D6E #B02899 #D441BB #DF73CD

Accessibility & contrast

On white

5.82
#B02899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B02899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02899
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02899#FFFFFF#000000##FFFFFF
##B028991.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#5B6C96
Tritanopia (blue-blind)
#B9335F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02899;
/* rgb */ color: rgb(176, 40, 153);
/* oklch */ color: oklch(53.5% 0.206 336.1);
Tailwind
colors: {
  custom: {
    50: '#cc71b7',
    500: '#b02899',
    950: '#000000',
  },
}
SCSS
$custom: #b02899;
$custom-light: #cc71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02899",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 310.147,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.20624,
    "h": 336.1
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#B02899
secondary
#6DC67C
accent
#E65E42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02899

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

Preview Lab → · Contrast checker → · Palette generator →

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