#B42388#B42388

#B42388 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 52.9% C 0.202 H 343.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B42388
RGBrgb(180, 35, 136)
HSLhsl(318, 67%, 42%)
HSVhsv(318, 81%, 71%)
CMYKcmyk(0%, 80.6%, 24.4%, 29.4%)
CIE-LABlab(42.29, 64.22, -21.12)
CIE-LCHlch(42.29, 67.60, 341.80°)
OKLaboklab(52.94% 0.1943 -0.0565)
OKLCHoklch(52.94% 0.202 343.8)
XYZxyz(23.8684, 12.6856, 24.4794)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42388 #23B44F
analogous
#9823B4 #B42388 #B4233F
triadic
#B42388 #88B423 #2388B4
tetradic
#B42388 #B49823 #23B44F #233FB4
square
#B42388 #B49823 #23B44F #233FB4
split-complementary
#B42388 #3FB423 #23B498
monochromatic
#4E0F3B #811961 #B42388 #D93BA9 #E36EC0

Accessibility & contrast

On white

5.94
#B42388 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B42388 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42388
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42388#FFFFFF#000000##FFFFFF
##B423881.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558B
Deuteranopia (green-blind)
#636C85
Tritanopia (blue-blind)
#C02254
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42388;
/* rgb */ color: rgb(180, 35, 136);
/* oklch */ color: oklch(52.9% 0.202 343.8);
Tailwind
colors: {
  custom: {
    50: '#cf70ab',
    500: '#b42388',
    950: '#000000',
  },
}
SCSS
$custom: #b42388;
$custom-light: #cf70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42388",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 318.207,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52939,
    "c": 0.20238,
    "h": 343.8
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

primary
#B42388
secondary
#69C987
accent
#EA723D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B42388

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

Preview Lab → · Contrast checker → · Palette generator →

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