#B42293#B42293

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

Color values

HEX#B42293
RGBrgb(180, 34, 147)
HSLhsl(314, 68%, 42%)
HSVhsv(314, 81%, 71%)
CMYKcmyk(0%, 81.1%, 18.3%, 29.4%)
CIE-LABlab(42.70, 65.90, -27.18)
CIE-LCHlch(42.70, 71.29, 337.59°)
OKLaboklab(53.4% 0.1966 -0.0736)
OKLCHoklch(53.4% 0.21 339.5)
XYZxyz(24.6616, 12.9565, 28.8002)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42293 #22B443
analogous
#8C22B4 #B42293 #B4224A
triadic
#B42293 #93B422 #2293B4
tetradic
#B42293 #B48C22 #22B443 #224AB4
square
#B42293 #B48C22 #22B443 #224AB4
split-complementary
#B42293 #4AB422 #22B48C
monochromatic
#4D0F3F #811869 #B42293 #DA3AB5 #E36DC9

Accessibility & contrast

On white

5.85
#B42293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B42293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42293
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42293#FFFFFF#000000##FFFFFF
##B422931.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#5F6D90
Tritanopia (blue-blind)
#BF295A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42293;
/* rgb */ color: rgb(180, 34, 147);
/* oklch */ color: oklch(53.4% 0.210 339.5);
Tailwind
colors: {
  custom: {
    50: '#cf70b3',
    500: '#b42293',
    950: '#000000',
  },
}
SCSS
$custom: #b42293;
$custom-light: #cf70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42293",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 313.562,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.20993,
    "h": 339.5
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42293

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

Preview Lab → · Contrast checker → · Palette generator →

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