#B4279C#B4279C

#B4279C is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.2% C 0.211 H 336.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B4279C
RGBrgb(180, 39, 156)
HSLhsl(310, 64%, 43%)
HSVhsv(310, 78%, 71%)
CMYKcmyk(0%, 78.3%, 13.3%, 29.4%)
CIE-LABlab(43.59, 65.83, -31.22)
CIE-LCHlch(43.59, 72.86, 334.63°)
OKLaboklab(54.18% 0.1935 -0.0852)
OKLCHoklch(54.18% 0.211 336.2)
XYZxyz(25.5491, 13.5570, 32.7172)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4279C #27B43F
analogous
#8627B4 #B4279C #B42755
triadic
#B4279C #9CB427 #279CB4
tetradic
#B4279C #B48627 #27B43F #2755B4
square
#B4279C #B48627 #27B43F #2755B4
split-complementary
#B4279C #55B427 #27B486
monochromatic
#4F1145 #821C70 #B4279C #D642BD #E174CE

Accessibility & contrast

On white

5.66
#B4279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B4279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4279C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4279C#FFFFFF#000000##FFFFFF
##B4279C1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4279c;
/* rgb */ color: rgb(180, 39, 156);
/* oklch */ color: oklch(54.2% 0.211 336.2);
Tailwind
colors: {
  custom: {
    50: '#cf72b9',
    500: '#b4279c',
    950: '#000000',
  },
}
SCSS
$custom: #b4279c;
$custom-light: #cf72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4279c",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 310.213,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54182,
    "c": 0.21138,
    "h": 336.2
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4279C

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

Preview Lab → · Contrast checker → · Palette generator →

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