#B4278D#B4278D

#B4278D is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.4% C 0.202 H 342.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B4278D
RGBrgb(180, 39, 141)
HSLhsl(317, 64%, 43%)
HSVhsv(317, 78%, 71%)
CMYKcmyk(0%, 78.3%, 21.7%, 29.4%)
CIE-LABlab(42.88, 63.78, -23.25)
CIE-LCHlch(42.88, 67.88, 339.97°)
OKLaboklab(53.44% 0.1918 -0.0625)
OKLCHoklch(53.44% 0.202 342)
XYZxyz(24.3565, 13.0800, 26.4361)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4278D #27B44E
analogous
#9527B4 #B4278D #B42746
triadic
#B4278D #8DB427 #278DB4
tetradic
#B4278D #B49527 #27B44E #2746B4
square
#B4278D #B49527 #27B44E #2746B4
split-complementary
#B4278D #46B427 #27B495
monochromatic
#4F113E #821C66 #B4278D #D642AD #E174C3

Accessibility & contrast

On white

5.81
#B4278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B4278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4278D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4278D#FFFFFF#000000##FFFFFF
##B4278D1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#BF2958
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4278d;
/* rgb */ color: rgb(180, 39, 141);
/* oklch */ color: oklch(53.4% 0.202 342.0);
Tailwind
colors: {
  custom: {
    50: '#cf71ae',
    500: '#b4278d',
    950: '#000000',
  },
}
SCSS
$custom: #b4278d;
$custom-light: #cf71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4278d",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 316.596,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.2017,
    "h": 342
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#B4278D
secondary
#6FC887
accent
#E76F40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4278D

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

Preview Lab → · Contrast checker → · Palette generator →

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