#B02884#B02884

#B02884 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.193 H 344.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B02884
RGBrgb(176, 40, 132)
HSLhsl(319, 63%, 42%)
HSVhsv(319, 77%, 69%)
CMYKcmyk(0%, 77.3%, 25%, 31%)
CIE-LABlab(41.87, 61.36, -19.37)
CIE-LCHlch(41.87, 64.35, 342.48°)
OKLaboklab(52.45% 0.1858 -0.0516)
OKLCHoklch(52.45% 0.193 344.5)
XYZxyz(22.8291, 12.4161, 23.0196)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02884 #28B054
analogous
#9828B0 #B02884 #B02840
triadic
#B02884 #84B028 #2884B0
tetradic
#B02884 #B09828 #28B054 #2840B0
square
#B02884 #B09828 #28B054 #2840B0
split-complementary
#B02884 #40B028 #28B098
monochromatic
#4C1139 #7E1D5F #B02884 #D441A4 #DF73BC

Accessibility & contrast

On white

6.03
#B02884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B02884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02884
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02884#FFFFFF#000000##FFFFFF
##B028841.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#636B81
Tritanopia (blue-blind)
#BC2653
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02884;
/* rgb */ color: rgb(176, 40, 132);
/* oklch */ color: oklch(52.4% 0.193 344.5);
Tailwind
colors: {
  custom: {
    50: '#cc71a8',
    500: '#b02884',
    950: '#000000',
  },
}
SCSS
$custom: #b02884;
$custom-light: #cc71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b02884",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 319.412,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.19282,
    "h": 344.5
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#B02884
secondary
#6DC68A
accent
#E67742
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02884

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

Preview Lab → · Contrast checker → · Palette generator →

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