#B3218F#B3218F

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

Color values

HEX#B3218F
RGBrgb(179, 33, 143)
HSLhsl(315, 69%, 42%)
HSVhsv(315, 82%, 70%)
CMYKcmyk(0%, 81.6%, 20.1%, 29.8%)
CIE-LABlab(42.24, 65.39, -25.47)
CIE-LCHlch(42.24, 70.18, 338.72°)
OKLaboklab(52.98% 0.196 -0.0688)
OKLCHoklch(52.98% 0.208 340.7)
XYZxyz(24.0930, 12.6571, 27.1555)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3218F #21B345
analogous
#8E21B3 #B3218F #B32146
triadic
#B3218F #8FB321 #218FB3
tetradic
#B3218F #B38E21 #21B345 #2146B3
square
#B3218F #B38E21 #21B345 #2146B3
split-complementary
#B3218F #46B321 #21B38E
monochromatic
#4C0E3C #7F1766 #B3218F #DA37B2 #E46BC6

Accessibility & contrast

On white

5.95
#B3218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B3218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3218F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3218F#FFFFFF#000000##FFFFFF
##B3218F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#BE2657
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3218f;
/* rgb */ color: rgb(179, 33, 143);
/* oklch */ color: oklch(53.0% 0.208 340.7);
Tailwind
colors: {
  custom: {
    50: '#ce6fb0',
    500: '#b3218f',
    950: '#000000',
  },
}
SCSS
$custom: #b3218f;
$custom-light: #ce6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3218f",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 314.795,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.20771,
    "h": 340.7
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#B3218F
secondary
#66CA7F
accent
#EC673C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3218F

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

Preview Lab → · Contrast checker → · Palette generator →

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