#B4279B#B4279B

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

Color values

HEX#B4279B
RGBrgb(180, 39, 155)
HSLhsl(311, 64%, 43%)
HSVhsv(311, 78%, 71%)
CMYKcmyk(0%, 78.3%, 13.9%, 29.4%)
CIE-LABlab(43.54, 65.69, -30.69)
CIE-LCHlch(43.54, 72.50, 334.96°)
OKLaboklab(54.13% 0.1934 -0.0837)
OKLCHoklch(54.13% 0.211 336.6)
XYZxyz(25.4648, 13.5233, 32.2731)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4279B #27B440
analogous
#8627B4 #B4279B #B42755
triadic
#B4279B #9BB427 #279BB4
tetradic
#B4279B #B48627 #27B440 #2755B4
square
#B4279B #B48627 #27B440 #2755B4
split-complementary
#B4279B #55B427 #27B486
monochromatic
#4F1144 #821C70 #B4279B #D642BC #E174CE

Accessibility & contrast

On white

5.67
#B4279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4279B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4279B#FFFFFF#000000##FFFFFF
##B4279B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599E
Deuteranopia (green-blind)
#5D6E98
Tritanopia (blue-blind)
#BE3260
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4279b;
/* rgb */ color: rgb(180, 39, 155);
/* oklch */ color: oklch(54.1% 0.211 336.6);
Tailwind
colors: {
  custom: {
    50: '#cf72b9',
    500: '#b4279b',
    950: '#000000',
  },
}
SCSS
$custom: #b4279b;
$custom-light: #cf72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4279b",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 310.638,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.2107,
    "h": 336.6
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#B4279B
secondary
#6FC87E
accent
#E75E40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4279B

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

Preview Lab → · Contrast checker → · Palette generator →

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