#B2218E#B2218E

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

Color values

HEX#B2218E
RGBrgb(178, 33, 142)
HSLhsl(315, 69%, 41%)
HSVhsv(315, 81%, 70%)
CMYKcmyk(0%, 81.5%, 20.2%, 30.2%)
CIE-LABlab(42.01, 65.04, -25.24)
CIE-LCHlch(42.01, 69.76, 338.79°)
OKLaboklab(52.76% 0.195 -0.0681)
OKLCHoklch(52.76% 0.207 340.7)
XYZxyz(23.7872, 12.5082, 26.7475)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2218E #21B245
analogous
#8E21B2 #B2218E #B22145
triadic
#B2218E #8EB221 #218EB2
tetradic
#B2218E #B28E21 #21B245 #2145B2
square
#B2218E #B28E21 #21B245 #2145B2
split-complementary
#B2218E #45B221 #21B28E
monochromatic
#4B0E3C #7E1765 #B2218E #DA36B1 #E36AC5

Accessibility & contrast

On white

6.00
#B2218E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B2218E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2218E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2218E#FFFFFF#000000##FFFFFF
##B2218E1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#BD2657
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2218e;
/* rgb */ color: rgb(178, 33, 142);
/* oklch */ color: oklch(52.8% 0.207 340.7);
Tailwind
colors: {
  custom: {
    50: '#cd6faf',
    500: '#b2218e',
    950: '#000000',
  },
}
SCSS
$custom: #b2218e;
$custom-light: #cd6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#b2218e",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 314.897,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52763,
    "c": 0.20653,
    "h": 340.7
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#B2218E
secondary
#66C97E
accent
#EC683C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B2218E

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

Preview Lab → · Contrast checker → · Palette generator →

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