#B02A99#B02A99

#B02A99 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.204 H 336.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B02A99
RGBrgb(176, 42, 153)
HSLhsl(310, 61%, 43%)
HSVhsv(310, 76%, 69%)
CMYKcmyk(0%, 76.1%, 13.1%, 31%)
CIE-LABlab(43.05, 63.63, -30.31)
CIE-LCHlch(43.05, 70.48, 334.52°)
OKLaboklab(53.61% 0.1868 -0.0827)
OKLCHoklch(53.61% 0.204 336.1)
XYZxyz(24.4826, 13.1882, 31.3870)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A99 #2AB041
analogous
#842AB0 #B02A99 #B02A56
triadic
#B02A99 #99B02A #2A99B0
tetradic
#B02A99 #B0842A #2AB041 #2A56B0
square
#B02A99 #B0842A #2AB041 #2A56B0
split-complementary
#B02A99 #56B02A #2AB084
monochromatic
#4D1243 #7F1E6E #B02A99 #D345BA #DE76CC

Accessibility & contrast

On white

5.77
#B02A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B02A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A99
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A99#FFFFFF#000000##FFFFFF
##B02A991.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599C
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#B9345F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b02a99;
/* rgb */ color: rgb(176, 42, 153);
/* oklch */ color: oklch(53.6% 0.204 336.1);
Tailwind
colors: {
  custom: {
    50: '#cb72b7',
    500: '#b02a99',
    950: '#000000',
  },
}
SCSS
$custom: #b02a99;
$custom-light: #cb72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a99",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 310.299,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.20425,
    "h": 336.1
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#B02A99
secondary
#70C67F
accent
#E55F43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02A99

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

Preview Lab → · Contrast checker → · Palette generator →

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