#B42291#B42291

#B42291 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.3% C 0.209 H 340.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B42291
RGBrgb(180, 34, 145)
HSLhsl(314, 68%, 42%)
HSVhsv(314, 81%, 71%)
CMYKcmyk(0%, 81.1%, 19.4%, 29.4%)
CIE-LABlab(42.60, 65.63, -26.11)
CIE-LCHlch(42.60, 70.64, 338.30°)
OKLaboklab(53.3% 0.1964 -0.0706)
OKLCHoklch(53.3% 0.209 340.2)
XYZxyz(24.5060, 12.8942, 27.9808)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42291 #22B445
analogous
#8E22B4 #B42291 #B42248
triadic
#B42291 #91B422 #2291B4
tetradic
#B42291 #B48E22 #22B445 #2248B4
square
#B42291 #B48E22 #22B445 #2248B4
split-complementary
#B42291 #48B422 #22B48E
monochromatic
#4D0F3E #811868 #B42291 #DA3AB3 #E36DC7

Accessibility & contrast

On white

5.87
#B42291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B42291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42291
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42291#FFFFFF#000000##FFFFFF
##B422911.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5694
Deuteranopia (green-blind)
#606D8E
Tritanopia (blue-blind)
#BF2859
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42291;
/* rgb */ color: rgb(180, 34, 145);
/* oklch */ color: oklch(53.3% 0.209 340.2);
Tailwind
colors: {
  custom: {
    50: '#cf70b1',
    500: '#b42291',
    950: '#000000',
  },
}
SCSS
$custom: #b42291;
$custom-light: #cf70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42291",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 314.384,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.533,
    "c": 0.20868,
    "h": 340.2
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#B42291
secondary
#68CA80
accent
#EB673D
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42291

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

Preview Lab → · Contrast checker → · Palette generator →

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