#B02882#B02882

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

Color values

HEX#B02882
RGBrgb(176, 40, 130)
HSLhsl(320, 63%, 42%)
HSVhsv(320, 77%, 69%)
CMYKcmyk(0%, 77.3%, 26.1%, 31%)
CIE-LABlab(41.79, 61.11, -18.27)
CIE-LCHlch(41.79, 63.78, 343.36°)
OKLaboklab(52.36% 0.1854 -0.0486)
OKLCHoklch(52.36% 0.192 345.3)
XYZxyz(22.6936, 12.3619, 22.3057)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02882 #28B056
analogous
#9A28B0 #B02882 #B0283E
triadic
#B02882 #82B028 #2882B0
tetradic
#B02882 #B09A28 #28B056 #283EB0
square
#B02882 #B09A28 #28B056 #283EB0
split-complementary
#B02882 #3EB028 #28B09A
monochromatic
#4C1138 #7E1D5D #B02882 #D441A2 #DF73BB

Accessibility & contrast

On white

6.05
#B02882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B02882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02882
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02882#FFFFFF#000000##FFFFFF
##B028821.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#BC2552
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02882;
/* rgb */ color: rgb(176, 40, 130);
/* oklch */ color: oklch(52.4% 0.192 345.3);
Tailwind
colors: {
  custom: {
    50: '#cc71a6',
    500: '#b02882',
    950: '#000000',
  },
}
SCSS
$custom: #b02882;
$custom-light: #cc71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02882",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 320.294,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.19166,
    "h": 345.3
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#B02882
secondary
#6DC68B
accent
#E67942
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02882

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

Preview Lab → · Contrast checker → · Palette generator →

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