#B22B8D#B22B8D

#B22B8D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.4% C 0.196 H 341.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B22B8D
RGBrgb(178, 43, 141)
HSLhsl(316, 61%, 43%)
HSVhsv(316, 76%, 70%)
CMYKcmyk(0%, 75.8%, 20.8%, 30.2%)
CIE-LABlab(42.94, 62.12, -23.19)
CIE-LCHlch(42.94, 66.30, 339.53°)
OKLaboklab(53.42% 0.1863 -0.0624)
OKLCHoklch(53.42% 0.196 341.5)
XYZxyz(24.0325, 13.1183, 26.4606)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B8D #2BB250
analogous
#932BB2 #B22B8D #B22B4A
triadic
#B22B8D #8DB22B #2B8DB2
tetradic
#B22B8D #B2932B #2BB250 #2B4AB2
square
#B22B8D #B2932B #2BB250 #2B4AB2
split-complementary
#B22B8D #4AB22B #2BB293
monochromatic
#4F133F #811F66 #B22B8D #D348AD #DF79C3

Accessibility & contrast

On white

5.80
#B22B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B22B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B8D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B8D#FFFFFF#000000##FFFFFF
##B22B8D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375790
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#BD2E59
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22b8d;
/* rgb */ color: rgb(178, 43, 141);
/* oklch */ color: oklch(53.4% 0.196 341.5);
Tailwind
colors: {
  custom: {
    50: '#cd72ae',
    500: '#b22b8d',
    950: '#000000',
  },
}
SCSS
$custom: #b22b8d;
$custom-light: #cd72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b8d",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 316.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53418,
    "c": 0.19649,
    "h": 341.5
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#B22B8D
secondary
#72C789
accent
#E47044
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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