#B4229B#B4229B

#B4229B is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.8% C 0.215 H 336.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B4229B
RGBrgb(180, 34, 155)
HSLhsl(310, 68%, 42%)
HSVhsv(310, 81%, 71%)
CMYKcmyk(0%, 81.1%, 13.9%, 29.4%)
CIE-LABlab(43.09, 67.00, -31.40)
CIE-LCHlch(43.09, 73.99, 334.89°)
OKLaboklab(53.81% 0.1973 -0.0857)
OKLCHoklch(53.81% 0.215 336.5)
XYZxyz(25.3113, 13.2163, 32.2220)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4229B #22B43B
analogous
#8422B4 #B4229B #B42252
triadic
#B4229B #9BB422 #229BB4
tetradic
#B4229B #B48422 #22B43B #2252B4
square
#B4229B #B48422 #22B43B #2252B4
split-complementary
#B4229B #52B422 #22B484
monochromatic
#4D0F42 #81186F #B4229B #DA3ABE #E36DCF

Accessibility & contrast

On white

5.76
#B4229B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B4229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4229B
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4229B#FFFFFF#000000##FFFFFF
##B4229B1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#5C6D98
Tritanopia (blue-blind)
#BE2E5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4229b;
/* rgb */ color: rgb(180, 34, 155);
/* oklch */ color: oklch(53.8% 0.215 336.5);
Tailwind
colors: {
  custom: {
    50: '#cf70b9',
    500: '#b4229b',
    950: '#000000',
  },
}
SCSS
$custom: #b4229b;
$custom-light: #cf70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4229b",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 310.274,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.21509,
    "h": 336.5
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#B4229B
secondary
#68CA79
accent
#EB5B3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4229B

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

Preview Lab → · Contrast checker → · Palette generator →

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