#B02784#B02784

#B02784 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.4% C 0.194 H 344.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B02784
RGBrgb(176, 39, 132)
HSLhsl(319, 64%, 42%)
HSVhsv(319, 78%, 69%)
CMYKcmyk(0%, 77.8%, 25%, 31%)
CIE-LABlab(41.77, 61.66, -19.53)
CIE-LCHlch(41.77, 64.68, 342.43°)
OKLaboklab(52.37% 0.1867 -0.0521)
OKLCHoklch(52.37% 0.194 344.4)
XYZxyz(22.7958, 12.3496, 23.0085)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02784 #27B053
analogous
#9827B0 #B02784 #B02740
triadic
#B02784 #84B027 #2784B0
tetradic
#B02784 #B09827 #27B053 #2740B0
square
#B02784 #B09827 #27B053 #2740B0
split-complementary
#B02784 #40B027 #27B098
monochromatic
#4C1139 #7E1C5E #B02784 #D540A5 #E072BC

Accessibility & contrast

On white

6.05
#B02784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B02784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02784
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02784#FFFFFF#000000##FFFFFF
##B027841.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385486
Deuteranopia (green-blind)
#636B81
Tritanopia (blue-blind)
#BC2553
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02784;
/* rgb */ color: rgb(176, 39, 132);
/* oklch */ color: oklch(52.4% 0.194 344.4);
Tailwind
colors: {
  custom: {
    50: '#cc70a8',
    500: '#b02784',
    950: '#000000',
  },
}
SCSS
$custom: #b02784;
$custom-light: #cc70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b02784",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 319.27,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.19382,
    "h": 344.4
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#B02784
secondary
#6CC789
accent
#E77641
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B02784

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

Preview Lab → · Contrast checker → · Palette generator →

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