#B4278A#B4278A

#B4278A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.3% C 0.200 H 343.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B4278A
RGBrgb(180, 39, 138)
HSLhsl(318, 64%, 43%)
HSVhsv(318, 78%, 71%)
CMYKcmyk(0%, 78.3%, 23.3%, 29.4%)
CIE-LABlab(42.75, 63.39, -21.62)
CIE-LCHlch(42.75, 66.98, 341.16°)
OKLaboklab(53.3% 0.1913 -0.0579)
OKLCHoklch(53.3% 0.2 343.2)
XYZxyz(24.1363, 12.9919, 25.2764)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4278A #27B451
analogous
#9727B4 #B4278A #B42744
triadic
#B4278A #8AB427 #278AB4
tetradic
#B4278A #B49727 #27B451 #2744B4
square
#B4278A #B49727 #27B451 #2744B4
split-complementary
#B4278A #44B427 #27B497
monochromatic
#4F113D #821C63 #B4278A #D642AA #E174C1

Accessibility & contrast

On white

5.84
#B4278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B4278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4278A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4278A#FFFFFF#000000##FFFFFF
##B4278A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#C02756
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4278a;
/* rgb */ color: rgb(180, 39, 138);
/* oklch */ color: oklch(53.3% 0.200 343.2);
Tailwind
colors: {
  custom: {
    50: '#cf71ac',
    500: '#b4278a',
    950: '#000000',
  },
}
SCSS
$custom: #b4278a;
$custom-light: #cf71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4278a",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 317.872,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53304,
    "c": 0.1999,
    "h": 343.2
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#B4278A
secondary
#6FC889
accent
#E77240
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4278A

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

Preview Lab → · Contrast checker → · Palette generator →

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