#B42386#B42386

#B42386 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.201 H 344.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B42386
RGBrgb(180, 35, 134)
HSLhsl(319, 67%, 42%)
HSVhsv(319, 81%, 71%)
CMYKcmyk(0%, 80.6%, 25.6%, 29.4%)
CIE-LABlab(42.20, 63.97, -20.03)
CIE-LCHlch(42.20, 67.03, 342.62°)
OKLaboklab(52.85% 0.194 -0.0534)
OKLCHoklch(52.85% 0.201 344.6)
XYZxyz(23.7275, 12.6292, 23.7378)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42386 #23B451
analogous
#9923B4 #B42386 #B4233E
triadic
#B42386 #86B423 #2386B4
tetradic
#B42386 #B49923 #23B451 #233EB4
square
#B42386 #B49923 #23B451 #233EB4
split-complementary
#B42386 #3EB423 #23B499
monochromatic
#4E0F3A #811960 #B42386 #D93BA7 #E36EBE

Accessibility & contrast

On white

5.96
#B42386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B42386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42386
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42386#FFFFFF#000000##FFFFFF
##B423861.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#646C83
Tritanopia (blue-blind)
#C02153
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42386;
/* rgb */ color: rgb(180, 35, 134);
/* oklch */ color: oklch(52.8% 0.201 344.6);
Tailwind
colors: {
  custom: {
    50: '#cf70a9',
    500: '#b42386',
    950: '#000000',
  },
}
SCSS
$custom: #b42386;
$custom-light: #cf70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b42386",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 319.034,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.20122,
    "h": 344.6
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#B42386
secondary
#69C988
accent
#EA743D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B42386

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

Preview Lab → · Contrast checker → · Palette generator →

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