#B02B96#B02B96

#B02B96 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.5% C 0.201 H 337.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B02B96
RGBrgb(176, 43, 150)
HSLhsl(312, 61%, 43%)
HSVhsv(312, 76%, 69%)
CMYKcmyk(0%, 75.6%, 14.8%, 31%)
CIE-LABlab(43.01, 62.89, -28.57)
CIE-LCHlch(43.01, 69.07, 335.57°)
OKLaboklab(53.54% 0.1856 -0.0777)
OKLCHoklch(53.54% 0.201 337.3)
XYZxyz(24.2739, 13.1622, 30.1104)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B96 #2BB045
analogous
#872BB0 #B02B96 #B02B54
triadic
#B02B96 #96B02B #2B96B0
tetradic
#B02B96 #B0872B #2BB045 #2B54B0
square
#B02B96 #B0872B #2BB045 #2B54B0
split-complementary
#B02B96 #54B02B #2BB087
monochromatic
#4E1342 #7F1F6C #B02B96 #D246B7 #DE78CA

Accessibility & contrast

On white

5.78
#B02B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B02B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B96
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B96#FFFFFF#000000##FFFFFF
##B02B961.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305999
Deuteranopia (green-blind)
#5E6D93
Tritanopia (blue-blind)
#BA335E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b02b96;
/* rgb */ color: rgb(176, 43, 150);
/* oklch */ color: oklch(53.5% 0.201 337.3);
Tailwind
colors: {
  custom: {
    50: '#cb72b5',
    500: '#b02b96',
    950: '#000000',
  },
}
SCSS
$custom: #b02b96;
$custom-light: #cb72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b96",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 311.729,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.20117,
    "h": 337.3
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#B02B96
secondary
#71C682
accent
#E46344
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02B96

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

Preview Lab → · Contrast checker → · Palette generator →

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