#B42773#B42773

#B42773 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.188 H 353.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B42773
RGBrgb(180, 39, 115)
HSLhsl(328, 64%, 43%)
HSVhsv(328, 78%, 71%)
CMYKcmyk(0%, 78.3%, 36.1%, 29.4%)
CIE-LABlab(41.84, 60.66, -8.85)
CIE-LCHlch(41.84, 61.31, 351.70°)
OKLaboklab(52.34% 0.1863 -0.0227)
OKLCHoklch(52.34% 0.188 353.1)
XYZxyz(22.6439, 12.3949, 17.4164)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42773 #27B468
analogous
#AF27B4 #B42773 #B4272C
triadic
#B42773 #73B427 #2773B4
tetradic
#B42773 #B4AF27 #27B468 #272CB4
square
#B42773 #B4AF27 #27B468 #272CB4
split-complementary
#B42773 #2CB427 #27B4AF
monochromatic
#4F1133 #821C53 #B42773 #D64292 #E174AF

Accessibility & contrast

On white

6.04
#B42773 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B42773 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42773
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42773#FFFFFF#000000##FFFFFF
##B427731.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435275
Deuteranopia (green-blind)
#6B6C70
Tritanopia (blue-blind)
#C2174A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42773;
/* rgb */ color: rgb(180, 39, 115);
/* oklch */ color: oklch(52.3% 0.188 353.1);
Tailwind
colors: {
  custom: {
    50: '#cf709b',
    500: '#b42773',
    950: '#000000',
  },
}
SCSS
$custom: #b42773;
$custom-light: #cf709b;
$custom-dark: #000000;
JSON
{
  "hex": "#b42773",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 327.66,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.18767,
    "h": 353.1
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#B42773
secondary
#6FC898
accent
#E78D40
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B42773

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

Preview Lab → · Contrast checker → · Palette generator →

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