#B2218F#B2218F

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

Color values

HEX#B2218F
RGBrgb(178, 33, 143)
HSLhsl(314, 69%, 41%)
HSVhsv(314, 81%, 70%)
CMYKcmyk(0%, 81.5%, 19.7%, 30.2%)
CIE-LABlab(42.06, 65.17, -25.77)
CIE-LCHlch(42.06, 70.08, 338.42°)
OKLaboklab(52.81% 0.1951 -0.0696)
OKLCHoklch(52.81% 0.207 340.4)
XYZxyz(23.8626, 12.5383, 27.1447)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2218F #21B244
analogous
#8D21B2 #B2218F #B22147
triadic
#B2218F #8FB221 #218FB2
tetradic
#B2218F #B28D21 #21B244 #2147B2
square
#B2218F #B28D21 #21B244 #2147B2
split-complementary
#B2218F #47B221 #21B28D
monochromatic
#4B0E3C #7E1766 #B2218F #DA36B2 #E36AC6

Accessibility & contrast

On white

5.99
#B2218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B2218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2218F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2218F#FFFFFF#000000##FFFFFF
##B2218F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2218f;
/* rgb */ color: rgb(178, 33, 143);
/* oklch */ color: oklch(52.8% 0.207 340.4);
Tailwind
colors: {
  custom: {
    50: '#cd6fb0',
    500: '#b2218f',
    950: '#000000',
  },
}
SCSS
$custom: #b2218f;
$custom-light: #cd6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2218f",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 314.483,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52812,
    "c": 0.20716,
    "h": 340.4
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2218F

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

Preview Lab → · Contrast checker → · Palette generator →

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