#B4218E#B4218E

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

Color values

HEX#B4218E
RGBrgb(180, 33, 142)
HSLhsl(316, 69%, 42%)
HSVhsv(316, 82%, 71%)
CMYKcmyk(0%, 81.7%, 21.1%, 29.4%)
CIE-LABlab(42.38, 65.49, -24.64)
CIE-LCHlch(42.38, 69.97, 339.38°)
OKLaboklab(53.09% 0.1968 -0.0664)
OKLCHoklch(53.09% 0.208 341.4)
XYZxyz(24.2496, 12.7466, 26.7692)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4218E #21B447
analogous
#9121B4 #B4218E #B42145
triadic
#B4218E #8EB421 #218EB4
tetradic
#B4218E #B49121 #21B447 #2145B4
square
#B4218E #B49121 #21B447 #2145B4
split-complementary
#B4218E #45B421 #21B491
monochromatic
#4D0E3C #801865 #B4218E #DA38B0 #E46BC5

Accessibility & contrast

On white

5.92
#B4218E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4218E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4218E#FFFFFF#000000##FFFFFF
##B4218E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#616C8B
Tritanopia (blue-blind)
#BF2557
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4218e;
/* rgb */ color: rgb(180, 33, 142);
/* oklch */ color: oklch(53.1% 0.208 341.4);
Tailwind
colors: {
  custom: {
    50: '#cf6faf',
    500: '#b4218e',
    950: '#000000',
  },
}
SCSS
$custom: #b4218e;
$custom-light: #cf6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#b4218e",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 315.51,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.20766,
    "h": 341.4
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4218E

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

Preview Lab → · Contrast checker → · Palette generator →

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