#B02A97#B02A97

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

Color values

HEX#B02A97
RGBrgb(176, 42, 151)
HSLhsl(311, 61%, 43%)
HSVhsv(311, 76%, 69%)
CMYKcmyk(0%, 76.1%, 14.2%, 31%)
CIE-LABlab(42.95, 63.34, -29.26)
CIE-LCHlch(42.95, 69.77, 335.20°)
OKLaboklab(53.51% 0.1866 -0.0797)
OKLCHoklch(53.51% 0.203 336.9)
XYZxyz(24.3188, 13.1227, 30.5243)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A97 #2AB043
analogous
#862AB0 #B02A97 #B02A54
triadic
#B02A97 #97B02A #2A97B0
tetradic
#B02A97 #B0862A #2AB043 #2A54B0
square
#B02A97 #B0862A #2AB043 #2A54B0
split-complementary
#B02A97 #54B02A #2AB086
monochromatic
#4D1242 #7F1E6D #B02A97 #D345B8 #DE76CB

Accessibility & contrast

On white

5.79
#B02A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02A97
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A97#FFFFFF#000000##FFFFFF
##B02A971.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E589A
Deuteranopia (green-blind)
#5D6D94
Tritanopia (blue-blind)
#B9335E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02a97;
/* rgb */ color: rgb(176, 42, 151);
/* oklch */ color: oklch(53.5% 0.203 336.9);
Tailwind
colors: {
  custom: {
    50: '#cc72b6',
    500: '#b02a97',
    950: '#000000',
  },
}
SCSS
$custom: #b02a97;
$custom-light: #cc72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a97",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 311.194,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53508,
    "c": 0.20288,
    "h": 336.9
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#B02A97
secondary
#70C680
accent
#E56143
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02A97

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

Preview Lab → · Contrast checker → · Palette generator →

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