#B42393#B42393

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

Color values

HEX#B42393
RGBrgb(180, 35, 147)
HSLhsl(314, 67%, 42%)
HSVhsv(314, 81%, 71%)
CMYKcmyk(0%, 80.6%, 18.3%, 29.4%)
CIE-LABlab(42.79, 65.65, -27.04)
CIE-LCHlch(42.79, 71.00, 337.61°)
OKLaboklab(53.46% 0.1958 -0.0732)
OKLCHoklch(53.46% 0.209 339.5)
XYZxyz(24.6906, 13.0145, 28.8098)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42393 #23B444
analogous
#8D23B4 #B42393 #B4234B
triadic
#B42393 #93B423 #2393B4
tetradic
#B42393 #B48D23 #23B444 #234BB4
square
#B42393 #B48D23 #23B444 #234BB4
split-complementary
#B42393 #4BB423 #23B48D
monochromatic
#4E0F3F #811969 #B42393 #D93BB5 #E36EC8

Accessibility & contrast

On white

5.83
#B42393 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42393
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42393#FFFFFF#000000##FFFFFF
##B423931.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42393;
/* rgb */ color: rgb(180, 35, 147);
/* oklch */ color: oklch(53.5% 0.209 339.5);
Tailwind
colors: {
  custom: {
    50: '#cf70b3',
    500: '#b42393',
    950: '#000000',
  },
}
SCSS
$custom: #b42393;
$custom-light: #cf70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42393",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 313.655,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.20908,
    "h": 339.5
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#B42393
secondary
#69C97F
accent
#EA653D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42393

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

Preview Lab → · Contrast checker → · Palette generator →

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