#B42192#B42192

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

Color values

HEX#B42192
RGBrgb(180, 33, 146)
HSLhsl(314, 69%, 42%)
HSVhsv(314, 82%, 71%)
CMYKcmyk(0%, 81.7%, 18.9%, 29.4%)
CIE-LABlab(42.56, 66.01, -26.78)
CIE-LCHlch(42.56, 71.24, 337.92°)
OKLaboklab(53.29% 0.1972 -0.0725)
OKLCHoklch(53.29% 0.21 339.8)
XYZxyz(24.5553, 12.8689, 28.3793)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42192 #21B443
analogous
#8D21B4 #B42192 #B42148
triadic
#B42192 #92B421 #2192B4
tetradic
#B42192 #B48D21 #21B443 #2148B4
square
#B42192 #B48D21 #21B443 #2148B4
split-complementary
#B42192 #48B421 #21B48D
monochromatic
#4D0E3E #801868 #B42192 #DA38B5 #E46BC8

Accessibility & contrast

On white

5.88
#B42192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B42192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42192
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42192#FFFFFF#000000##FFFFFF
##B421921.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5695
Deuteranopia (green-blind)
#5F6D8F
Tritanopia (blue-blind)
#BF2859
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42192;
/* rgb */ color: rgb(180, 33, 146);
/* oklch */ color: oklch(53.3% 0.210 339.8);
Tailwind
colors: {
  custom: {
    50: '#cf6fb2',
    500: '#b42192',
    950: '#000000',
  },
}
SCSS
$custom: #b42192;
$custom-light: #cf6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42192",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 313.878,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.21013,
    "h": 339.8
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#B42192
secondary
#67CA7E
accent
#EC653C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42192

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

Preview Lab → · Contrast checker → · Palette generator →

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