#B42979#B42979

#B42979 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.189 H 350.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B42979
RGBrgb(180, 41, 121)
HSLhsl(325, 63%, 43%)
HSVhsv(325, 77%, 71%)
CMYKcmyk(0%, 77.2%, 32.8%, 29.4%)
CIE-LABlab(42.27, 60.74, -11.92)
CIE-LCHlch(42.27, 61.90, 348.90°)
OKLaboklab(52.73% 0.186 -0.031)
OKLCHoklch(52.73% 0.189 350.5)
XYZxyz(23.0678, 12.6724, 19.3167)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42979 #29B464
analogous
#A929B4 #B42979 #B42933
triadic
#B42979 #79B429 #2979B4
tetradic
#B42979 #B4A929 #29B464 #2933B4
square
#B42979 #B4A929 #29B464 #2933B4
split-complementary
#B42979 #33B429 #29B4A9
monochromatic
#501236 #821E57 #B42979 #D54598 #E077B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42979#FFFFFF#000000##FFFFFF
##B429791.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42979;
/* rgb */ color: rgb(180, 41, 121);
/* oklch */ color: oklch(52.7% 0.189 350.5);
Tailwind
colors: {
  custom: {
    50: '#cf719f',
    500: '#b42979',
    950: '#000000',
  },
}
SCSS
$custom: #b42979;
$custom-light: #cf719f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42979",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 325.468,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.18855,
    "h": 350.5
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#B42979
secondary
#71C896
accent
#E68842
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42979

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

Preview Lab → · Contrast checker → · Palette generator →

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