#B02A96#B02A96

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

Color values

HEX#B02A96
RGBrgb(176, 42, 150)
HSLhsl(312, 61%, 43%)
HSVhsv(312, 76%, 69%)
CMYKcmyk(0%, 76.1%, 14.8%, 31%)
CIE-LABlab(42.90, 63.20, -28.73)
CIE-LCHlch(42.90, 69.42, 335.55°)
OKLaboklab(53.46% 0.1865 -0.0782)
OKLCHoklch(53.46% 0.202 337.3)
XYZxyz(24.2380, 13.0903, 30.0984)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A96 #2AB044
analogous
#872AB0 #B02A96 #B02A53
triadic
#B02A96 #96B02A #2A96B0
tetradic
#B02A96 #B0872A #2AB044 #2A53B0
square
#B02A96 #B0872A #2AB044 #2A53B0
split-complementary
#B02A96 #53B02A #2AB087
monochromatic
#4D1242 #7F1E6C #B02A96 #D345B7 #DE76CA

Accessibility & contrast

On white

5.80
#B02A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B02A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A96
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A96#FFFFFF#000000##FFFFFF
##B02A961.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#5D6D93
Tritanopia (blue-blind)
#BA335E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02a96;
/* rgb */ color: rgb(176, 42, 150);
/* oklch */ color: oklch(53.5% 0.202 337.3);
Tailwind
colors: {
  custom: {
    50: '#cc72b5',
    500: '#b02a96',
    950: '#000000',
  },
}
SCSS
$custom: #b02a96;
$custom-light: #cc72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a96",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 311.642,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53458,
    "c": 0.2022,
    "h": 337.3
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#B02A96
secondary
#70C681
accent
#E56343
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02A96

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

Preview Lab → · Contrast checker → · Palette generator →

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