#B42B7E#B42B7E

#B42B7E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.189 H 348.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B42B7E
RGBrgb(180, 43, 126)
HSLhsl(324, 61%, 44%)
HSVhsv(324, 76%, 71%)
CMYKcmyk(0%, 76.1%, 30%, 29.4%)
CIE-LABlab(42.67, 60.71, -14.39)
CIE-LCHlch(42.67, 62.39, 346.67°)
OKLaboklab(53.09% 0.1853 -0.0378)
OKLCHoklch(53.09% 0.189 348.5)
XYZxyz(23.4534, 12.9401, 20.9972)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B7E #2BB461
analogous
#A52BB4 #B42B7E #B42B39
triadic
#B42B7E #7EB42B #2B7EB4
tetradic
#B42B7E #B4A52B #2BB461 #2B39B4
square
#B42B7E #B4A52B #2BB461 #2B39B4
split-complementary
#B42B7E #39B42B #2BB4A5
monochromatic
#511339 #831F5B #B42B7E #D3499D #DF7AB7

Accessibility & contrast

On white

5.85
#B42B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B42B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B7E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B7E#FFFFFF#000000##FFFFFF
##B42B7E1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#696D7B
Tritanopia (blue-blind)
#C12451
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42b7e;
/* rgb */ color: rgb(180, 43, 126);
/* oklch */ color: oklch(53.1% 0.189 348.5);
Tailwind
colors: {
  custom: {
    50: '#cf72a3',
    500: '#b42b7e',
    950: '#000000',
  },
}
SCSS
$custom: #b42b7e;
$custom-light: #cf72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b7e",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 323.65,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53085,
    "c": 0.18907,
    "h": 348.5
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#B42B7E
secondary
#73C795
accent
#E58343
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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