#B42E7B#B42E7B

#B42E7B is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.184 H 350.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B42E7B
RGBrgb(180, 46, 123)
HSLhsl(326, 59%, 44%)
HSVhsv(326, 74%, 71%)
CMYKcmyk(0%, 74.4%, 31.7%, 29.4%)
CIE-LABlab(42.90, 59.39, -12.20)
CIE-LCHlch(42.90, 60.63, 348.39°)
OKLaboklab(53.21% 0.1815 -0.0318)
OKLCHoklch(53.21% 0.184 350.1)
XYZxyz(23.3758, 13.0901, 20.0307)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E7B #2EB467
analogous
#AA2EB4 #B42E7B #B42E38
triadic
#B42E7B #7BB42E #2E7BB4
tetradic
#B42E7B #B4AA2E #2EB467 #2E38B4
square
#B42E7B #B4AA2E #2EB467 #2E38B4
split-complementary
#B42E7B #38B42E #2EB4AA
monochromatic
#531538 #83225A #B42E7B #D24E99 #DE7EB5

Accessibility & contrast

On white

5.81
#B42E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B42E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E7B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E7B#FFFFFF#000000##FFFFFF
##B42E7B1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567D
Deuteranopia (green-blind)
#6B6E78
Tritanopia (blue-blind)
#C12550
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42e7b;
/* rgb */ color: rgb(180, 46, 123);
/* oklch */ color: oklch(53.2% 0.184 350.1);
Tailwind
colors: {
  custom: {
    50: '#cf73a1',
    500: '#b42e7b',
    950: '#000000',
  },
}
SCSS
$custom: #b42e7b;
$custom-light: #cf73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e7b",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 325.522,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.18428,
    "h": 350.1
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

primary
#B42E7B
secondary
#77C799
accent
#E28845
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B42E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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