#B42B79#B42B79

#B42B79 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.186 H 350.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B42B79
RGBrgb(180, 43, 121)
HSLhsl(326, 61%, 44%)
HSVhsv(326, 76%, 71%)
CMYKcmyk(0%, 76.1%, 32.8%, 29.4%)
CIE-LABlab(42.48, 60.13, -11.59)
CIE-LCHlch(42.48, 61.23, 349.09°)
OKLaboklab(52.88% 0.1841 -0.0301)
OKLCHoklch(52.88% 0.187 350.7)
XYZxyz(23.1388, 12.8143, 19.3403)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B79 #2BB466
analogous
#AA2BB4 #B42B79 #B42B35
triadic
#B42B79 #79B42B #2B79B4
tetradic
#B42B79 #B4AA2B #2BB466 #2B35B4
square
#B42B79 #B4AA2B #2BB466 #2B35B4
split-complementary
#B42B79 #35B42B #2BB4AA
monochromatic
#511337 #831F58 #B42B79 #D34998 #DF7AB4

Accessibility & contrast

On white

5.89
#B42B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B42B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B79
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B79#FFFFFF#000000##FFFFFF
##B42B791.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#6A6D76
Tritanopia (blue-blind)
#C2214E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42b79;
/* rgb */ color: rgb(180, 43, 121);
/* oklch */ color: oklch(52.9% 0.186 350.7);
Tailwind
colors: {
  custom: {
    50: '#cf729f',
    500: '#b42b79',
    950: '#000000',
  },
}
SCSS
$custom: #b42b79;
$custom-light: #cf729f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b79",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 325.839,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.1865,
    "h": 350.7
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#B42B79
secondary
#73C798
accent
#E58943
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B42B79

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

Preview Lab → · Contrast checker → · Palette generator →

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