#B42292#B42292

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

Color values

HEX#B42292
RGBrgb(180, 34, 146)
HSLhsl(314, 68%, 42%)
HSVhsv(314, 81%, 71%)
CMYKcmyk(0%, 81.1%, 18.9%, 29.4%)
CIE-LABlab(42.65, 65.77, -26.65)
CIE-LCHlch(42.65, 70.96, 337.94°)
OKLaboklab(53.35% 0.1965 -0.0721)
OKLCHoklch(53.35% 0.209 339.8)
XYZxyz(24.5835, 12.9252, 28.3887)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42292 #22B444
analogous
#8D22B4 #B42292 #B42249
triadic
#B42292 #92B422 #2292B4
tetradic
#B42292 #B48D22 #22B444 #2249B4
square
#B42292 #B48D22 #22B444 #2249B4
split-complementary
#B42292 #49B422 #22B48D
monochromatic
#4D0F3E #811868 #B42292 #DA3AB4 #E36DC8

Accessibility & contrast

On white

5.86
#B42292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42292
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42292#FFFFFF#000000##FFFFFF
##B422921.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42292;
/* rgb */ color: rgb(180, 34, 146);
/* oklch */ color: oklch(53.3% 0.209 339.8);
Tailwind
colors: {
  custom: {
    50: '#cf70b2',
    500: '#b42292',
    950: '#000000',
  },
}
SCSS
$custom: #b42292;
$custom-light: #cf70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42292",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 313.973,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.2093,
    "h": 339.8
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#B42292
secondary
#68CA7F
accent
#EB653D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42292

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

Preview Lab → · Contrast checker → · Palette generator →

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