#B4427D#B4427D

#B4427D is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.3% C 0.160 H 351.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B4427D
RGBrgb(180, 66, 125)
HSLhsl(329, 46%, 48%)
HSVhsv(329, 63%, 71%)
CMYKcmyk(0%, 63.3%, 30.6%, 29.4%)
CIE-LABlab(45.75, 51.94, -9.13)
CIE-LCHlch(45.75, 52.74, 350.03°)
OKLaboklab(55.33% 0.158 -0.0236)
OKLCHoklch(55.33% 0.16 351.5)
XYZxyz(24.4734, 15.0830, 21.0205)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4427D #42B479
analogous
#B242B4 #B4427D #B44244
triadic
#B4427D #7DB442 #427DB4
tetradic
#B4427D #B4B242 #42B479 #4244B4
square
#B4427D #B4B242 #42B479 #4244B4
split-complementary
#B4427D #44B442 #42B4B2
monochromatic
#5A213F #87325E #B4427D #C96B9B #D997B9

Accessibility & contrast

On white

5.23
#B4427D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B4427D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4427D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4427D#FFFFFF#000000##FFFFFF
##B4427D1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7F
Deuteranopia (green-blind)
#72747A
Tritanopia (blue-blind)
#C13C5A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b4427d;
/* rgb */ color: rgb(180, 66, 125);
/* oklch */ color: oklch(55.3% 0.160 351.5);
Tailwind
colors: {
  custom: {
    50: '#ce7da2',
    500: '#b4427d',
    950: '#000000',
  },
}
SCSS
$custom: #b4427d;
$custom-light: #ce7da2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4427d",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 328.947,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55329,
    "c": 0.15978,
    "h": 351.5
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#B4427D
secondary
#8DC5A8
accent
#D69252
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B4427D

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

Preview Lab → · Contrast checker → · Palette generator →

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