#B4427F#B4427F

#B4427F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.161 H 350.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B4427F
RGBrgb(180, 66, 127)
HSLhsl(328, 46%, 48%)
HSVhsv(328, 63%, 71%)
CMYKcmyk(0%, 63.3%, 29.4%, 29.4%)
CIE-LABlab(45.82, 52.20, -10.24)
CIE-LCHlch(45.82, 53.19, 348.90°)
OKLaboklab(55.41% 0.1586 -0.0266)
OKLCHoklch(55.41% 0.161 350.5)
XYZxyz(24.6025, 15.1346, 21.7002)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4427F #42B477
analogous
#B042B4 #B4427F #B44246
triadic
#B4427F #7FB442 #427FB4
tetradic
#B4427F #B4B042 #42B477 #4246B4
square
#B4427F #B4B042 #42B477 #4246B4
split-complementary
#B4427F #46B442 #42B4B0
monochromatic
#5A2140 #87325F #B4427F #C96B9D #D997BB

Accessibility & contrast

On white

5.22
#B4427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B4427F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4427F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4427F#FFFFFF#000000##FFFFFF
##B4427F1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526081
Deuteranopia (green-blind)
#71747C
Tritanopia (blue-blind)
#C13D5B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b4427f;
/* rgb */ color: rgb(180, 66, 127);
/* oklch */ color: oklch(55.4% 0.161 350.5);
Tailwind
colors: {
  custom: {
    50: '#ce7da4',
    500: '#b4427f',
    950: '#000000',
  },
}
SCSS
$custom: #b4427f;
$custom-light: #ce7da4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4427f",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 327.895,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.16083,
    "h": 350.5
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#B4427F
secondary
#8DC5A7
accent
#D68F52
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B4427F

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

Preview Lab → · Contrast checker → · Palette generator →

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