#B02B88#B02B88

#B02B88 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.192 H 342.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B02B88
RGBrgb(176, 43, 136)
HSLhsl(318, 61%, 43%)
HSVhsv(318, 76%, 69%)
CMYKcmyk(0%, 75.6%, 22.7%, 31%)
CIE-LABlab(42.37, 60.96, -21.06)
CIE-LCHlch(42.37, 64.50, 340.95°)
OKLaboklab(52.86% 0.1837 -0.0564)
OKLCHoklch(52.86% 0.192 342.9)
XYZxyz(23.2132, 12.7379, 24.5239)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B88 #2BB053
analogous
#952BB0 #B02B88 #B02B45
triadic
#B02B88 #88B02B #2B88B0
tetradic
#B02B88 #B0952B #2BB053 #2B45B0
square
#B02B88 #B0952B #2BB053 #2B45B0
split-complementary
#B02B88 #45B02B #2BB095
monochromatic
#4E133C #7F1F62 #B02B88 #D246A8 #DE78BF

Accessibility & contrast

On white

5.92
#B02B88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B02B88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B88
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B88#FFFFFF#000000##FFFFFF
##B02B881.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568A
Deuteranopia (green-blind)
#636C85
Tritanopia (blue-blind)
#BB2C56
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02b88;
/* rgb */ color: rgb(176, 43, 136);
/* oklch */ color: oklch(52.9% 0.192 342.9);
Tailwind
colors: {
  custom: {
    50: '#cc72ab',
    500: '#b02b88',
    950: '#000000',
  },
}
SCSS
$custom: #b02b88;
$custom-light: #cc72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b88",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 318.045,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52863,
    "c": 0.19212,
    "h": 342.9
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#B02B88
secondary
#71C68B
accent
#E47444
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02B88

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

Preview Lab → · Contrast checker → · Palette generator →

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