#B4218B#B4218B

#B4218B is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.206 H 342.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B4218B
RGBrgb(180, 33, 139)
HSLhsl(317, 69%, 42%)
HSVhsv(317, 82%, 71%)
CMYKcmyk(0%, 81.7%, 22.8%, 29.4%)
CIE-LABlab(42.24, 65.10, -23.02)
CIE-LCHlch(42.24, 69.05, 340.53°)
OKLaboklab(52.95% 0.1964 -0.0618)
OKLCHoklch(52.95% 0.206 342.5)
XYZxyz(24.0274, 12.6577, 25.5989)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4218B #21B44A
analogous
#9421B4 #B4218B #B42141
triadic
#B4218B #8BB421 #218BB4
tetradic
#B4218B #B49421 #21B44A #2141B4
square
#B4218B #B49421 #21B44A #2141B4
split-complementary
#B4218B #41B421 #21B494
monochromatic
#4D0E3B #801863 #B4218B #DA38AD #E46BC2

Accessibility & contrast

On white

5.95
#B4218B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B4218B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4218B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4218B#FFFFFF#000000##FFFFFF
##B4218B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#626C88
Tritanopia (blue-blind)
#C02355
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4218b;
/* rgb */ color: rgb(180, 33, 139);
/* oklch */ color: oklch(53.0% 0.206 342.5);
Tailwind
colors: {
  custom: {
    50: '#cf6fad',
    500: '#b4218b',
    950: '#000000',
  },
}
SCSS
$custom: #b4218b;
$custom-light: #cf6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4218b",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 316.735,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52951,
    "c": 0.20585,
    "h": 342.5
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#B4218B
secondary
#67CA82
accent
#EC6D3C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B4218B

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

Preview Lab → · Contrast checker → · Palette generator →

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