#B02772#B02772

#B02772 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.184 H 352.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B02772
RGBrgb(176, 39, 114)
HSLhsl(327, 64%, 42%)
HSVhsv(327, 78%, 69%)
CMYKcmyk(0%, 77.8%, 35.2%, 31%)
CIE-LABlab(41.05, 59.52, -9.48)
CIE-LCHlch(41.05, 60.27, 350.95°)
OKLaboklab(51.62% 0.1826 -0.0244)
OKLCHoklch(51.62% 0.184 352.4)
XYZxyz(21.6686, 11.8987, 17.0719)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02772 #27B065
analogous
#A927B0 #B02772 #B0272E
triadic
#B02772 #72B027 #2772B0
tetradic
#B02772 #B0A927 #27B065 #272EB0
square
#B02772 #B0A927 #27B065 #272EB0
split-complementary
#B02772 #2EB027 #27B0A9
monochromatic
#4C1131 #7E1C52 #B02772 #D54091 #E072AE

Accessibility & contrast

On white

6.21
#B02772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B02772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02772
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02772#FFFFFF#000000##FFFFFF
##B027721.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415174
Deuteranopia (green-blind)
#686A6F
Tritanopia (blue-blind)
#BE1949
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02772;
/* rgb */ color: rgb(176, 39, 114);
/* oklch */ color: oklch(51.6% 0.184 352.4);
Tailwind
colors: {
  custom: {
    50: '#cc709a',
    500: '#b02772',
    950: '#000000',
  },
}
SCSS
$custom: #b02772;
$custom-light: #cc709a;
$custom-dark: #000000;
JSON
{
  "hex": "#b02772",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 327.153,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.18426,
    "h": 352.4
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#B02772
secondary
#6CC795
accent
#E78C41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02772

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

Preview Lab → · Contrast checker → · Palette generator →

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