#B4284C#B4284C

#B4284C is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.176 H 11.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B4284C
RGBrgb(180, 40, 76)
HSLhsl(345, 64%, 43%)
HSVhsv(345, 78%, 71%)
CMYKcmyk(0%, 77.8%, 57.8%, 29.4%)
CIE-LABlab(40.81, 56.87, 14.17)
CIE-LCHlch(40.81, 58.60, 13.99°)
OKLaboklab(51.22% 0.172 0.0354)
OKLCHoklch(51.22% 0.176 11.6)
XYZxyz(20.8878, 11.7457, 8.0034)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4284C #28B490
analogous
#B42892 #B4284C #B44A28
triadic
#B4284C #4CB428 #284CB4
tetradic
#B4284C #92B428 #28B490 #4A28B4
square
#B4284C #92B428 #28B490 #4A28B4
split-complementary
#B4284C #28B44A #2892B4
monochromatic
#501222 #821D37 #B4284C #D54469 #E17691

Accessibility & contrast

On white

6.27
#B4284C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B4284C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4284C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4284C#FFFFFF#000000##FFFFFF
##B4284C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4C
Deuteranopia (green-blind)
#726A48
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4284c;
/* rgb */ color: rgb(180, 40, 76);
/* oklch */ color: oklch(51.2% 0.176 11.6);
Tailwind
colors: {
  custom: {
    50: '#d16f7d',
    500: '#b4284c',
    950: '#000000',
  },
}
SCSS
$custom: #b4284c;
$custom-light: #d16f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4284c",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 344.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.17555,
    "h": 11.6
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#B4284C
secondary
#70C8B1
accent
#E7BC41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B4284C

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

Preview Lab → · Contrast checker → · Palette generator →

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