#B02A78#B02A78

#B02A78 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.184 H 349.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B02A78
RGBrgb(176, 42, 120)
HSLhsl(325, 61%, 43%)
HSVhsv(325, 76%, 69%)
CMYKcmyk(0%, 76.1%, 31.8%, 31%)
CIE-LABlab(41.60, 59.28, -12.38)
CIE-LCHlch(41.60, 60.56, 348.21°)
OKLaboklab(52.1% 0.1813 -0.0323)
OKLCHoklch(52.1% 0.184 349.9)
XYZxyz(22.1238, 12.2447, 18.9640)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A78 #2AB062
analogous
#A52AB0 #B02A78 #B02A35
triadic
#B02A78 #78B02A #2A78B0
tetradic
#B02A78 #B0A52A #2AB062 #2A35B0
square
#B02A78 #B0A52A #2AB062 #2A35B0
split-complementary
#B02A78 #35B02A #2AB0A5
monochromatic
#4D1235 #7F1E56 #B02A78 #D34597 #DE76B3

Accessibility & contrast

On white

6.09
#B02A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B02A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A78
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A78#FFFFFF#000000##FFFFFF
##B02A781.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#676B75
Tritanopia (blue-blind)
#BD214D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02a78;
/* rgb */ color: rgb(176, 42, 120);
/* oklch */ color: oklch(52.1% 0.184 349.9);
Tailwind
colors: {
  custom: {
    50: '#cc719f',
    500: '#b02a78',
    950: '#000000',
  },
}
SCSS
$custom: #b02a78;
$custom-light: #cc719f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a78",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 325.075,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.18414,
    "h": 349.9
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#B02A78
secondary
#70C694
accent
#E58743
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B02A78

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

Preview Lab → · Contrast checker → · Palette generator →

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