#B4279A#B4279A

#B4279A is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.1% C 0.210 H 337.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B4279A
RGBrgb(180, 39, 154)
HSLhsl(311, 64%, 43%)
HSVhsv(311, 78%, 71%)
CMYKcmyk(0%, 78.3%, 14.4%, 29.4%)
CIE-LABlab(43.49, 65.55, -30.17)
CIE-LCHlch(43.49, 72.16, 335.29°)
OKLaboklab(54.08% 0.1933 -0.0822)
OKLCHoklch(54.08% 0.21 337)
XYZxyz(25.3812, 13.4899, 31.8327)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4279A #27B441
analogous
#8827B4 #B4279A #B42753
triadic
#B4279A #9AB427 #279AB4
tetradic
#B4279A #B48827 #27B441 #2753B4
square
#B4279A #B48827 #27B441 #2753B4
split-complementary
#B4279A #53B427 #27B488
monochromatic
#4F1144 #821C6F #B4279A #D642BB #E174CD

Accessibility & contrast

On white

5.68
#B4279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B4279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4279A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4279A#FFFFFF#000000##FFFFFF
##B4279A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599D
Deuteranopia (green-blind)
#5E6E97
Tritanopia (blue-blind)
#BE315F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4279a;
/* rgb */ color: rgb(180, 39, 154);
/* oklch */ color: oklch(54.1% 0.210 337.0);
Tailwind
colors: {
  custom: {
    50: '#cf72b8',
    500: '#b4279a',
    950: '#000000',
  },
}
SCSS
$custom: #b4279a;
$custom-light: #cf72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b4279a",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 311.064,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.21004,
    "h": 337
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#B4279A
secondary
#6FC87F
accent
#E75F40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4279A

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

Preview Lab → · Contrast checker → · Palette generator →

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