#B42B7D#B42B7D

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

Color values

HEX#B42B7D
RGBrgb(180, 43, 125)
HSLhsl(324, 61%, 44%)
HSVhsv(324, 76%, 71%)
CMYKcmyk(0%, 76.1%, 30.6%, 29.4%)
CIE-LABlab(42.63, 60.59, -13.83)
CIE-LCHlch(42.63, 62.15, 347.14°)
OKLaboklab(53.04% 0.185 -0.0363)
OKLCHoklch(53.04% 0.189 348.9)
XYZxyz(23.3892, 12.9144, 20.6591)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B7D #2BB462
analogous
#A62BB4 #B42B7D #B42B38
triadic
#B42B7D #7DB42B #2B7DB4
tetradic
#B42B7D #B4A62B #2BB462 #2B38B4
square
#B42B7D #B4A62B #2BB462 #2B38B4
split-complementary
#B42B7D #38B42B #2BB4A6
monochromatic
#511338 #831F5B #B42B7D #D3499C #DF7AB7

Accessibility & contrast

On white

5.86
#B42B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B42B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B7D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B7D#FFFFFF#000000##FFFFFF
##B42B7D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#C12350
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42b7d;
/* rgb */ color: rgb(180, 43, 125);
/* oklch */ color: oklch(53.0% 0.189 348.9);
Tailwind
colors: {
  custom: {
    50: '#cf72a2',
    500: '#b42b7d',
    950: '#000000',
  },
}
SCSS
$custom: #b42b7d;
$custom-light: #cf72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b7d",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 324.088,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.18854,
    "h": 348.9
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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