#B4218F#B4218F

#B4218F is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.208 H 341.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B4218F
RGBrgb(180, 33, 143)
HSLhsl(315, 69%, 42%)
HSVhsv(315, 82%, 71%)
CMYKcmyk(0%, 81.7%, 20.6%, 29.4%)
CIE-LABlab(42.42, 65.62, -25.18)
CIE-LCHlch(42.42, 70.28, 339.01°)
OKLaboklab(53.14% 0.1969 -0.0679)
OKLCHoklch(53.14% 0.208 341)
XYZxyz(24.3250, 12.7767, 27.1664)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4218F #21B446
analogous
#9021B4 #B4218F #B42146
triadic
#B4218F #8FB421 #218FB4
tetradic
#B4218F #B49021 #21B446 #2146B4
square
#B4218F #B49021 #21B446 #2146B4
split-complementary
#B4218F #46B421 #21B490
monochromatic
#4D0E3D #801866 #B4218F #DA38B2 #E46BC6

Accessibility & contrast

On white

5.91
#B4218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B4218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4218F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4218F#FFFFFF#000000##FFFFFF
##B4218F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#BF2557
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4218f;
/* rgb */ color: rgb(180, 33, 143);
/* oklch */ color: oklch(53.1% 0.208 341.0);
Tailwind
colors: {
  custom: {
    50: '#cf6fb0',
    500: '#b4218f',
    950: '#000000',
  },
}
SCSS
$custom: #b4218f;
$custom-light: #cf6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4218f",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 315.102,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.20827,
    "h": 341
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#B4218F
secondary
#67CA80
accent
#EC683C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B4218F

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

Preview Lab → · Contrast checker → · Palette generator →

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