#B4219B#B4219B

#B4219B is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.7% C 0.216 H 336.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B4219B
RGBrgb(180, 33, 155)
HSLhsl(310, 69%, 42%)
HSVhsv(310, 82%, 71%)
CMYKcmyk(0%, 81.7%, 13.9%, 29.4%)
CIE-LABlab(43.00, 67.24, -31.54)
CIE-LCHlch(43.00, 74.27, 334.87°)
OKLaboklab(53.75% 0.198 -0.086)
OKLCHoklch(53.75% 0.216 336.5)
XYZxyz(25.2831, 13.1600, 32.2126)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4219B #21B43A
analogous
#8421B4 #B4219B #B42152
triadic
#B4219B #9BB421 #219BB4
tetradic
#B4219B #B48421 #21B43A #2152B4
square
#B4219B #B48421 #21B43A #2152B4
split-complementary
#B4219B #52B421 #21B484
monochromatic
#4D0E42 #80186E #B4219B #DA38BF #E46BCF

Accessibility & contrast

On white

5.78
#B4219B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B4219B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4219B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4219B#FFFFFF#000000##FFFFFF
##B4219B1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589E
Deuteranopia (green-blind)
#5C6D98
Tritanopia (blue-blind)
#BE2D5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4219b;
/* rgb */ color: rgb(180, 33, 155);
/* oklch */ color: oklch(53.7% 0.216 336.5);
Tailwind
colors: {
  custom: {
    50: '#cf70b9',
    500: '#b4219b',
    950: '#000000',
  },
}
SCSS
$custom: #b4219b;
$custom-light: #cf70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4219b",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 310.204,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53745,
    "c": 0.21591,
    "h": 336.5
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#B4219B
secondary
#67CA78
accent
#EC5A3C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4219B

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

Preview Lab → · Contrast checker → · Palette generator →

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