#B2218B#B2218B

#B2218B is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.205 H 341.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B2218B
RGBrgb(178, 33, 139)
HSLhsl(316, 69%, 41%)
HSVhsv(316, 81%, 70%)
CMYKcmyk(0%, 81.5%, 21.9%, 30.2%)
CIE-LABlab(41.87, 64.65, -23.62)
CIE-LCHlch(41.87, 68.83, 339.93°)
OKLaboklab(52.62% 0.1946 -0.0635)
OKLCHoklch(52.62% 0.205 341.9)
XYZxyz(23.5650, 12.4193, 25.5772)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2218B #21B248
analogous
#9121B2 #B2218B #B22143
triadic
#B2218B #8BB221 #218BB2
tetradic
#B2218B #B29121 #21B248 #2143B2
square
#B2218B #B29121 #21B248 #2143B2
split-complementary
#B2218B #43B221 #21B291
monochromatic
#4B0E3A #7E1763 #B2218B #DA36AE #E36AC3

Accessibility & contrast

On white

6.03
#B2218B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B2218B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2218B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2218B#FFFFFF#000000##FFFFFF
##B2218B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548E
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#BD2455
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2218b;
/* rgb */ color: rgb(178, 33, 139);
/* oklch */ color: oklch(52.6% 0.205 341.9);
Tailwind
colors: {
  custom: {
    50: '#cd6fad',
    500: '#b2218b',
    950: '#000000',
  },
}
SCSS
$custom: #b2218b;
$custom-light: #cd6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#b2218b",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 316.138,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.2047,
    "h": 341.9
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#B2218B
secondary
#66C980
accent
#EC6B3C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B2218B

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

Preview Lab → · Contrast checker → · Palette generator →

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