#B2219D#B2219D

#B2219D is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.216 H 335.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B2219D
RGBrgb(178, 33, 157)
HSLhsl(309, 69%, 41%)
HSVhsv(309, 81%, 70%)
CMYKcmyk(0%, 81.5%, 11.8%, 30.2%)
CIE-LABlab(42.75, 67.10, -33.17)
CIE-LCHlch(42.75, 74.85, 333.70°)
OKLaboklab(53.53% 0.1962 -0.0908)
OKLCHoklch(53.53% 0.216 335.2)
XYZxyz(24.9901, 12.9893, 33.0828)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2219D #21B236
analogous
#7F21B2 #B2219D #B22155
triadic
#B2219D #9DB221 #219DB2
tetradic
#B2219D #B27F21 #21B236 #2155B2
square
#B2219D #B27F21 #21B236 #2155B2
split-complementary
#B2219D #55B221 #21B27F
monochromatic
#4B0E42 #7E176F #B2219D #DA36C2 #E36AD2

Accessibility & contrast

On white

5.84
#B2219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B2219D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2219D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2219D#FFFFFF#000000##FFFFFF
##B2219D1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2057A0
Deuteranopia (green-blind)
#596C9A
Tritanopia (blue-blind)
#BB305F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b2219d;
/* rgb */ color: rgb(178, 33, 157);
/* oklch */ color: oklch(53.5% 0.216 335.2);
Tailwind
colors: {
  custom: {
    50: '#cd6fba',
    500: '#b2219d',
    950: '#000000',
  },
}
SCSS
$custom: #b2219d;
$custom-light: #cd6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#b2219d",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 308.69,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.21622,
    "h": 335.2
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#B2219D
secondary
#66C974
accent
#EC563C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2219D

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

Preview Lab → · Contrast checker → · Palette generator →

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