#B4278B#B4278B

#B4278B is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.3% C 0.200 H 342.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B4278B
RGBrgb(180, 39, 139)
HSLhsl(317, 64%, 43%)
HSVhsv(317, 78%, 71%)
CMYKcmyk(0%, 78.3%, 22.8%, 29.4%)
CIE-LABlab(42.79, 63.52, -22.17)
CIE-LCHlch(42.79, 67.27, 340.76°)
OKLaboklab(53.35% 0.1915 -0.0594)
OKLCHoklch(53.35% 0.2 342.8)
XYZxyz(24.2090, 13.0210, 25.6595)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4278B #27B450
analogous
#9727B4 #B4278B #B42744
triadic
#B4278B #8BB427 #278BB4
tetradic
#B4278B #B49727 #27B450 #2744B4
square
#B4278B #B49727 #27B450 #2744B4
split-complementary
#B4278B #44B427 #27B497
monochromatic
#4F113D #821C64 #B4278B #D642AB #E174C1

Accessibility & contrast

On white

5.83
#B4278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4278B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4278B#FFFFFF#000000##FFFFFF
##B4278B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568E
Deuteranopia (green-blind)
#646D88
Tritanopia (blue-blind)
#C02857
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4278b;
/* rgb */ color: rgb(180, 39, 139);
/* oklch */ color: oklch(53.3% 0.200 342.8);
Tailwind
colors: {
  custom: {
    50: '#cf71ad',
    500: '#b4278b',
    950: '#000000',
  },
}
SCSS
$custom: #b4278b;
$custom-light: #cf71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4278b",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 317.447,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.20049,
    "h": 342.8
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4278B

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

Preview Lab → · Contrast checker → · Palette generator →

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