#B02771#B02771

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

Color values

HEX#B02771
RGBrgb(176, 39, 113)
HSLhsl(328, 64%, 42%)
HSVhsv(328, 78%, 69%)
CMYKcmyk(0%, 77.8%, 35.8%, 31%)
CIE-LABlab(41.02, 59.41, -8.91)
CIE-LCHlch(41.02, 60.07, 351.47°)
OKLaboklab(51.58% 0.1824 -0.0229)
OKLCHoklch(51.58% 0.184 352.9)
XYZxyz(21.6120, 11.8761, 16.7738)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02771 #27B066
analogous
#AB27B0 #B02771 #B0272D
triadic
#B02771 #71B027 #2771B0
tetradic
#B02771 #B0AB27 #27B066 #272DB0
square
#B02771 #B0AB27 #27B066 #272DB0
split-complementary
#B02771 #2DB027 #27B0AB
monochromatic
#4C1131 #7E1C51 #B02771 #D54090 #E072AD

Accessibility & contrast

On white

6.22
#B02771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B02771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02771
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02771#FFFFFF#000000##FFFFFF
##B027711.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#686A6E
Tritanopia (blue-blind)
#BE1849
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02771;
/* rgb */ color: rgb(176, 39, 113);
/* oklch */ color: oklch(51.6% 0.184 352.9);
Tailwind
colors: {
  custom: {
    50: '#cc7099',
    500: '#b02771',
    950: '#000000',
  },
}
SCSS
$custom: #b02771;
$custom-light: #cc7099;
$custom-dark: #000000;
JSON
{
  "hex": "#b02771",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 327.591,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.1838,
    "h": 352.9
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#B02771
secondary
#6CC796
accent
#E78D41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02771

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

Preview Lab → · Contrast checker → · Palette generator →

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