#B22189#B22189

#B22189 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.5% C 0.203 H 342.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B22189
RGBrgb(178, 33, 137)
HSLhsl(317, 69%, 41%)
HSVhsv(317, 81%, 70%)
CMYKcmyk(0%, 81.5%, 23%, 30.2%)
CIE-LABlab(41.78, 64.39, -22.54)
CIE-LCHlch(41.78, 68.22, 340.71°)
OKLaboklab(52.52% 0.1943 -0.0605)
OKLCHoklch(52.52% 0.204 342.7)
XYZxyz(23.4202, 12.3614, 24.8147)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22189 #21B24A
analogous
#9321B2 #B22189 #B22140
triadic
#B22189 #89B221 #2189B2
tetradic
#B22189 #B29321 #21B24A #2140B2
square
#B22189 #B29321 #21B24A #2140B2
split-complementary
#B22189 #40B221 #21B293
monochromatic
#4B0E3A #7E1761 #B22189 #DA36AC #E36AC1

Accessibility & contrast

On white

6.05
#B22189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B22189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22189
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22189#FFFFFF#000000##FFFFFF
##B221891.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#616B86
Tritanopia (blue-blind)
#BE2254
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22189;
/* rgb */ color: rgb(178, 33, 137);
/* oklch */ color: oklch(52.5% 0.203 342.7);
Tailwind
colors: {
  custom: {
    50: '#cd6fab',
    500: '#b22189',
    950: '#000000',
  },
}
SCSS
$custom: #b22189;
$custom-light: #cd6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#b22189",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 316.966,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.2035,
    "h": 342.7
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#B22189
secondary
#66C982
accent
#EC6E3C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B22189

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

Preview Lab → · Contrast checker → · Palette generator →

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