#B42E7D#B42E7D

#B42E7D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.185 H 349.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B42E7D
RGBrgb(180, 46, 125)
HSLhsl(325, 59%, 44%)
HSVhsv(325, 74%, 71%)
CMYKcmyk(0%, 74.4%, 30.6%, 29.4%)
CIE-LABlab(42.97, 59.63, -13.31)
CIE-LCHlch(42.97, 61.10, 347.41°)
OKLaboklab(53.29% 0.182 -0.0349)
OKLCHoklch(53.29% 0.185 349.2)
XYZxyz(23.5023, 13.1406, 20.6968)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E7D #2EB465
analogous
#A82EB4 #B42E7D #B42E3A
triadic
#B42E7D #7DB42E #2E7DB4
tetradic
#B42E7D #B4A82E #2EB465 #2E3AB4
square
#B42E7D #B4A82E #2EB465 #2E3AB4
split-complementary
#B42E7D #3AB42E #2EB4A8
monochromatic
#531539 #83225B #B42E7D #D24E9B #DE7EB7

Accessibility & contrast

On white

5.79
#B42E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B42E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E7D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E7D#FFFFFF#000000##FFFFFF
##B42E7D1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567F
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#C12752
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42e7d;
/* rgb */ color: rgb(180, 46, 125);
/* oklch */ color: oklch(53.3% 0.185 349.2);
Tailwind
colors: {
  custom: {
    50: '#cf73a2',
    500: '#b42e7d',
    950: '#000000',
  },
}
SCSS
$custom: #b42e7d;
$custom-light: #cf73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e7d",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 324.627,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.18532,
    "h": 349.2
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#B42E7D
secondary
#77C798
accent
#E28645
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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