#B02A84#B02A84

#B02A84 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.191 H 344.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B02A84
RGBrgb(176, 42, 132)
HSLhsl(320, 61%, 43%)
HSVhsv(320, 76%, 69%)
CMYKcmyk(0%, 76.1%, 25%, 31%)
CIE-LABlab(42.08, 60.76, -19.04)
CIE-LCHlch(42.08, 63.67, 342.60°)
OKLaboklab(52.6% 0.1839 -0.0508)
OKLCHoklch(52.6% 0.191 344.6)
XYZxyz(22.8983, 12.5545, 23.0427)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A84 #2AB056
analogous
#992AB0 #B02A84 #B02A41
triadic
#B02A84 #84B02A #2A84B0
tetradic
#B02A84 #B0992A #2AB056 #2A41B0
square
#B02A84 #B0992A #2AB056 #2A41B0
split-complementary
#B02A84 #41B02A #2AB099
monochromatic
#4D123A #7F1E5F #B02A84 #D345A4 #DE76BC

Accessibility & contrast

On white

5.98
#B02A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B02A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A84
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A84#FFFFFF#000000##FFFFFF
##B02A841.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#646B81
Tritanopia (blue-blind)
#BC2854
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02a84;
/* rgb */ color: rgb(176, 42, 132);
/* oklch */ color: oklch(52.6% 0.191 344.6);
Tailwind
colors: {
  custom: {
    50: '#cc71a8',
    500: '#b02a84',
    950: '#000000',
  },
}
SCSS
$custom: #b02a84;
$custom-light: #cc71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a84",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 319.701,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.19076,
    "h": 344.6
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#B02A84
secondary
#70C68C
accent
#E57843
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02A84

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

Preview Lab → · Contrast checker → · Palette generator →

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