#B42E7E#B42E7E

#B42E7E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.186 H 348.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B42E7E
RGBrgb(180, 46, 126)
HSLhsl(324, 59%, 44%)
HSVhsv(324, 74%, 71%)
CMYKcmyk(0%, 74.4%, 30%, 29.4%)
CIE-LABlab(43.01, 59.75, -13.87)
CIE-LCHlch(43.01, 61.34, 346.93°)
OKLaboklab(53.33% 0.1823 -0.0364)
OKLCHoklch(53.33% 0.186 348.7)
XYZxyz(23.5665, 13.1663, 21.0349)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E7E #2EB464
analogous
#A72EB4 #B42E7E #B42E3B
triadic
#B42E7E #7EB42E #2E7EB4
tetradic
#B42E7E #B4A72E #2EB464 #2E3BB4
square
#B42E7E #B4A72E #2EB464 #2E3BB4
split-complementary
#B42E7E #3BB42E #2EB4A7
monochromatic
#53153A #83225C #B42E7E #D24E9C #DE7EB7

Accessibility & contrast

On white

5.78
#B42E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42E7E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E7E#FFFFFF#000000##FFFFFF
##B42E7E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435780
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#C12752
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42e7e;
/* rgb */ color: rgb(180, 46, 126);
/* oklch */ color: oklch(53.3% 0.186 348.7);
Tailwind
colors: {
  custom: {
    50: '#cf73a3',
    500: '#b42e7e',
    950: '#000000',
  },
}
SCSS
$custom: #b42e7e;
$custom-light: #cf73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e7e",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 324.179,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.18585,
    "h": 348.7
  },
  "luminance": 0.13164
}

Semantic roles & 50–950 ramp

primary
#B42E7E
secondary
#77C797
accent
#E28545
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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