#B42294#B42294

#B42294 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.211 H 339.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B42294
RGBrgb(180, 34, 148)
HSLhsl(313, 68%, 42%)
HSVhsv(313, 81%, 71%)
CMYKcmyk(0%, 81.1%, 17.8%, 29.4%)
CIE-LABlab(42.75, 66.03, -27.71)
CIE-LCHlch(42.75, 71.61, 337.23°)
OKLaboklab(53.45% 0.1967 -0.0751)
OKLCHoklch(53.45% 0.211 339.1)
XYZxyz(24.7404, 12.9880, 29.2152)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42294 #22B442
analogous
#8B22B4 #B42294 #B4224B
triadic
#B42294 #94B422 #2294B4
tetradic
#B42294 #B48B22 #22B442 #224BB4
square
#B42294 #B48B22 #22B442 #224BB4
split-complementary
#B42294 #4BB422 #22B48B
monochromatic
#4D0F3F #81186A #B42294 #DA3AB7 #E36DC9

Accessibility & contrast

On white

5.84
#B42294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B42294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42294
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42294#FFFFFF#000000##FFFFFF
##B422941.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5797
Deuteranopia (green-blind)
#5F6D91
Tritanopia (blue-blind)
#BF2A5A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42294;
/* rgb */ color: rgb(180, 34, 148);
/* oklch */ color: oklch(53.4% 0.211 339.1);
Tailwind
colors: {
  custom: {
    50: '#cf70b3',
    500: '#b42294',
    950: '#000000',
  },
}
SCSS
$custom: #b42294;
$custom-light: #cf70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42294",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 313.151,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.21056,
    "h": 339.1
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#B42294
secondary
#68CA7E
accent
#EB633D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42294

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

Preview Lab → · Contrast checker → · Palette generator →

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