#B02774#B02774

#B02774 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.185 H 351.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B02774
RGBrgb(176, 39, 116)
HSLhsl(326, 64%, 42%)
HSVhsv(326, 78%, 69%)
CMYKcmyk(0%, 77.8%, 34.1%, 31%)
CIE-LABlab(41.13, 59.74, -10.61)
CIE-LCHlch(41.13, 60.68, 349.93°)
OKLaboklab(51.7% 0.1832 -0.0275)
OKLCHoklch(51.7% 0.185 351.5)
XYZxyz(21.7837, 11.9447, 17.6780)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02774 #27B063
analogous
#A727B0 #B02774 #B02730
triadic
#B02774 #74B027 #2774B0
tetradic
#B02774 #B0A727 #27B063 #2730B0
square
#B02774 #B0A727 #27B063 #2730B0
split-complementary
#B02774 #30B027 #27B0A7
monochromatic
#4C1132 #7E1C53 #B02774 #D54093 #E072B0

Accessibility & contrast

On white

6.20
#B02774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B02774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02774
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02774#FFFFFF#000000##FFFFFF
##B027741.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#686A71
Tritanopia (blue-blind)
#BE1A4A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02774;
/* rgb */ color: rgb(176, 39, 116);
/* oklch */ color: oklch(51.7% 0.185 351.5);
Tailwind
colors: {
  custom: {
    50: '#cc709c',
    500: '#b02774',
    950: '#000000',
  },
}
SCSS
$custom: #b02774;
$custom-light: #cc709c;
$custom-dark: #000000;
JSON
{
  "hex": "#b02774",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 326.277,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.517,
    "c": 0.18521,
    "h": 351.5
  },
  "luminance": 0.11942
}

Semantic roles & 50–950 ramp

primary
#B02774
secondary
#6CC794
accent
#E78A41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02774

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

Preview Lab → · Contrast checker → · Palette generator →

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