#B2218C#B2218C

#B2218C is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.7% C 0.205 H 341.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B2218C
RGBrgb(178, 33, 140)
HSLhsl(316, 69%, 41%)
HSVhsv(316, 81%, 70%)
CMYKcmyk(0%, 81.5%, 21.3%, 30.2%)
CIE-LABlab(41.92, 64.78, -24.16)
CIE-LCHlch(41.92, 69.14, 339.55°)
OKLaboklab(52.67% 0.1947 -0.0651)
OKLCHoklch(52.67% 0.205 341.5)
XYZxyz(23.6384, 12.4487, 25.9638)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2218C #21B247
analogous
#9021B2 #B2218C #B22144
triadic
#B2218C #8CB221 #218CB2
tetradic
#B2218C #B29021 #21B247 #2144B2
square
#B2218C #B29021 #21B247 #2144B2
split-complementary
#B2218C #44B221 #21B290
monochromatic
#4B0E3B #7E1763 #B2218C #DA36AF #E36AC4

Accessibility & contrast

On white

6.02
#B2218C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B2218C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2218C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2218C#FFFFFF#000000##FFFFFF
##B2218C1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#606B89
Tritanopia (blue-blind)
#BD2456
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2218c;
/* rgb */ color: rgb(178, 33, 140);
/* oklch */ color: oklch(52.7% 0.205 341.5);
Tailwind
colors: {
  custom: {
    50: '#cd6fae',
    500: '#b2218c',
    950: '#000000',
  },
}
SCSS
$custom: #b2218c;
$custom-light: #cd6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2218c",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 315.724,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.2053,
    "h": 341.5
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2218C

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

Preview Lab → · Contrast checker → · Palette generator →

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