#B4284E#B4284E

#B4284E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.176 H 10.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B4284E
RGBrgb(180, 40, 78)
HSLhsl(344, 64%, 43%)
HSVhsv(344, 78%, 71%)
CMYKcmyk(0%, 77.8%, 56.7%, 29.4%)
CIE-LABlab(40.85, 57.01, 12.97)
CIE-LCHlch(40.85, 58.46, 12.82°)
OKLaboklab(51.27% 0.1727 0.0326)
OKLCHoklch(51.27% 0.176 10.7)
XYZxyz(20.9584, 11.7740, 8.3753)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4284E #28B48E
analogous
#B42894 #B4284E #B44828
triadic
#B4284E #4EB428 #284EB4
tetradic
#B4284E #94B428 #28B48E #4828B4
square
#B4284E #94B428 #28B48E #4828B4
split-complementary
#B4284E #28B448 #2894B4
monochromatic
#501223 #821D38 #B4284E #D5446B #E17693

Accessibility & contrast

On white

6.26
#B4284E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4284E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4284E#FFFFFF#000000##FFFFFF
##B4284E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4F
Deuteranopia (green-blind)
#726B4A
Tritanopia (blue-blind)
#C50038
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4284e;
/* rgb */ color: rgb(180, 40, 78);
/* oklch */ color: oklch(51.3% 0.176 10.7);
Tailwind
colors: {
  custom: {
    50: '#d1707f',
    500: '#b4284e',
    950: '#000000',
  },
}
SCSS
$custom: #b4284e;
$custom-light: #d1707f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4284e",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 343.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.17577,
    "h": 10.7
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#B4284E
secondary
#70C8B0
accent
#E7BA41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B4284E

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

Preview Lab → · Contrast checker → · Palette generator →

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