#B3218B#B3218B

#B3218B is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.8% C 0.205 H 342.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B3218B
RGBrgb(179, 33, 139)
HSLhsl(316, 69%, 42%)
HSVhsv(316, 82%, 70%)
CMYKcmyk(0%, 81.6%, 22.3%, 29.8%)
CIE-LABlab(42.06, 64.88, -23.32)
CIE-LCHlch(42.06, 68.94, 340.23°)
OKLaboklab(52.79% 0.1955 -0.0627)
OKLCHoklch(52.79% 0.205 342.2)
XYZxyz(23.7954, 12.5381, 25.5880)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3218B #21B349
analogous
#9221B3 #B3218B #B32142
triadic
#B3218B #8BB321 #218BB3
tetradic
#B3218B #B39221 #21B349 #2142B3
square
#B3218B #B39221 #21B349 #2142B3
split-complementary
#B3218B #42B321 #21B392
monochromatic
#4C0E3B #7F1763 #B3218B #DA37AD #E46BC3

Accessibility & contrast

On white

5.99
#B3218B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B3218B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3218B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3218B#FFFFFF#000000##FFFFFF
##B3218B1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548E
Deuteranopia (green-blind)
#616C88
Tritanopia (blue-blind)
#BF2355
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3218b;
/* rgb */ color: rgb(179, 33, 139);
/* oklch */ color: oklch(52.8% 0.205 342.2);
Tailwind
colors: {
  custom: {
    50: '#ce6fad',
    500: '#b3218b',
    950: '#000000',
  },
}
SCSS
$custom: #b3218b;
$custom-light: #ce6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3218b",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 316.438,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.20527,
    "h": 342.2
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#B3218B
secondary
#66CA81
accent
#EC6C3C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3218B

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

Preview Lab → · Contrast checker → · Palette generator →

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