#B3218D#B3218D

#B3218D is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.9% C 0.206 H 341.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B3218D
RGBrgb(179, 33, 141)
HSLhsl(316, 69%, 42%)
HSVhsv(316, 82%, 70%)
CMYKcmyk(0%, 81.6%, 21.2%, 29.8%)
CIE-LABlab(42.15, 65.13, -24.40)
CIE-LCHlch(42.15, 69.55, 339.46°)
OKLaboklab(52.88% 0.1957 -0.0657)
OKLCHoklch(52.88% 0.206 341.4)
XYZxyz(23.9428, 12.5971, 26.3647)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3218D #21B347
analogous
#9021B3 #B3218D #B32144
triadic
#B3218D #8DB321 #218DB3
tetradic
#B3218D #B39021 #21B347 #2144B3
square
#B3218D #B39021 #21B347 #2144B3
split-complementary
#B3218D #44B321 #21B390
monochromatic
#4C0E3C #7F1764 #B3218D #DA37B0 #E46BC4

Accessibility & contrast

On white

5.97
#B3218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B3218D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3218D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3218D#FFFFFF#000000##FFFFFF
##B3218D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305590
Deuteranopia (green-blind)
#606C8A
Tritanopia (blue-blind)
#BE2556
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3218d;
/* rgb */ color: rgb(179, 33, 141);
/* oklch */ color: oklch(52.9% 0.206 341.4);
Tailwind
colors: {
  custom: {
    50: '#ce6fae',
    500: '#b3218d',
    950: '#000000',
  },
}
SCSS
$custom: #b3218d;
$custom-light: #ce6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3218d",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 315.616,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.20648,
    "h": 341.4
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#B3218D
secondary
#66CA80
accent
#EC6A3C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3218D

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

Preview Lab → · Contrast checker → · Palette generator →

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