#B3218E#B3218E

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

Color values

HEX#B3218E
RGBrgb(179, 33, 142)
HSLhsl(315, 69%, 42%)
HSVhsv(315, 82%, 70%)
CMYKcmyk(0%, 81.6%, 20.7%, 29.8%)
CIE-LABlab(42.20, 65.26, -24.94)
CIE-LCHlch(42.20, 69.86, 339.09°)
OKLaboklab(52.93% 0.1959 -0.0672)
OKLCHoklch(52.93% 0.207 341.1)
XYZxyz(24.0176, 12.6270, 26.7583)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3218E #21B346
analogous
#8F21B3 #B3218E #B32145
triadic
#B3218E #8EB321 #218EB3
tetradic
#B3218E #B38F21 #21B346 #2145B3
square
#B3218E #B38F21 #21B346 #2145B3
split-complementary
#B3218E #45B321 #21B38F
monochromatic
#4C0E3C #7F1765 #B3218E #DA37B1 #E46BC5

Accessibility & contrast

On white

5.96
#B3218E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3218E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3218E#FFFFFF#000000##FFFFFF
##B3218E1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#BE2557
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3218e;
/* rgb */ color: rgb(179, 33, 142);
/* oklch */ color: oklch(52.9% 0.207 341.1);
Tailwind
colors: {
  custom: {
    50: '#ce6faf',
    500: '#b3218e',
    950: '#000000',
  },
}
SCSS
$custom: #b3218e;
$custom-light: #ce6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#b3218e",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 315.205,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.20709,
    "h": 341.1
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3218E

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

Preview Lab → · Contrast checker → · Palette generator →

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