#B02780#B02780

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

Color values

HEX#B02780
RGBrgb(176, 39, 128)
HSLhsl(321, 64%, 42%)
HSVhsv(321, 78%, 69%)
CMYKcmyk(0%, 77.8%, 27.3%, 31%)
CIE-LABlab(41.60, 61.16, -17.33)
CIE-LCHlch(41.60, 63.57, 344.18°)
OKLaboklab(52.2% 0.1859 -0.0459)
OKLCHoklch(52.2% 0.192 346.1)
XYZxyz(22.5273, 12.2422, 21.5945)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02780 #27B057
analogous
#9C27B0 #B02780 #B0273B
triadic
#B02780 #80B027 #2780B0
tetradic
#B02780 #B09C27 #27B057 #273BB0
square
#B02780 #B09C27 #27B057 #273BB0
split-complementary
#B02780 #3BB027 #27B09C
monochromatic
#4C1137 #7E1C5C #B02780 #D540A0 #E072B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02780#FFFFFF#000000##FFFFFF
##B027801.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)
#3B5382
Deuteranopia (green-blind)
#646A7D
Tritanopia (blue-blind)
#BC2351
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02780;
/* rgb */ color: rgb(176, 39, 128);
/* oklch */ color: oklch(52.2% 0.192 346.1);
Tailwind
colors: {
  custom: {
    50: '#cc70a5',
    500: '#b02780',
    950: '#000000',
  },
}
SCSS
$custom: #b02780;
$custom-light: #cc70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02780",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 321.022,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.19151,
    "h": 346.1
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#B02780
secondary
#6CC78C
accent
#E77B41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B02780

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

Preview Lab → · Contrast checker → · Palette generator →

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