#B2218D#B2218D

#B2218D is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.7% C 0.206 H 341.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B2218D
RGBrgb(178, 33, 141)
HSLhsl(315, 69%, 41%)
HSVhsv(315, 81%, 70%)
CMYKcmyk(0%, 81.5%, 20.8%, 30.2%)
CIE-LABlab(41.97, 64.91, -24.70)
CIE-LCHlch(41.97, 69.45, 339.17°)
OKLaboklab(52.71% 0.1949 -0.0666)
OKLCHoklch(52.71% 0.206 341.1)
XYZxyz(23.7125, 12.4783, 26.3539)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2218D #21B246
analogous
#8F21B2 #B2218D #B22145
triadic
#B2218D #8DB221 #218DB2
tetradic
#B2218D #B28F21 #21B246 #2145B2
square
#B2218D #B28F21 #21B246 #2145B2
split-complementary
#B2218D #45B221 #21B28F
monochromatic
#4B0E3B #7E1764 #B2218D #DA36B0 #E36AC4

Accessibility & contrast

On white

6.01
#B2218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2218D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2218D#FFFFFF#000000##FFFFFF
##B2218D1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#606B8A
Tritanopia (blue-blind)
#BD2556
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2218d;
/* rgb */ color: rgb(178, 33, 141);
/* oklch */ color: oklch(52.7% 0.206 341.1);
Tailwind
colors: {
  custom: {
    50: '#cd6fae',
    500: '#b2218d',
    950: '#000000',
  },
}
SCSS
$custom: #b2218d;
$custom-light: #cd6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2218d",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 315.31,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.20591,
    "h": 341.1
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2218D

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

Preview Lab → · Contrast checker → · Palette generator →

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