#B4229A#B4229A

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

Color values

HEX#B4229A
RGBrgb(180, 34, 154)
HSLhsl(311, 68%, 42%)
HSVhsv(311, 81%, 71%)
CMYKcmyk(0%, 81.1%, 14.4%, 29.4%)
CIE-LABlab(43.04, 66.86, -30.88)
CIE-LCHlch(43.04, 73.64, 335.21°)
OKLaboklab(53.75% 0.1972 -0.0842)
OKLCHoklch(53.75% 0.214 336.9)
XYZxyz(25.2277, 13.1829, 31.7815)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4229A #22B43C
analogous
#8522B4 #B4229A #B42251
triadic
#B4229A #9AB422 #229AB4
tetradic
#B4229A #B48522 #22B43C #2251B4
square
#B4229A #B48522 #22B43C #2251B4
split-complementary
#B4229A #51B422 #22B485
monochromatic
#4D0F42 #81186E #B4229A #DA3ABD #E36DCE

Accessibility & contrast

On white

5.78
#B4229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4229A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4229A#FFFFFF#000000##FFFFFF
##B4229A1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#BE2E5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4229a;
/* rgb */ color: rgb(180, 34, 154);
/* oklch */ color: oklch(53.8% 0.214 336.9);
Tailwind
colors: {
  custom: {
    50: '#cf70b8',
    500: '#b4229a',
    950: '#000000',
  },
}
SCSS
$custom: #b4229a;
$custom-light: #cf70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b4229a",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 310.685,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.21443,
    "h": 336.9
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#B4229A
secondary
#68CA7A
accent
#EB5C3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4229A

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

Preview Lab → · Contrast checker → · Palette generator →

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