#B42E62#B42E62

#B42E62 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.174 H 2.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B42E62
RGBrgb(180, 46, 98)
HSLhsl(337, 59%, 44%)
HSVhsv(337, 74%, 71%)
CMYKcmyk(0%, 74.4%, 45.6%, 29.4%)
CIE-LABlab(42.06, 56.74, 2.10)
CIE-LCHlch(42.06, 56.78, 2.12°)
OKLaboklab(52.33% 0.174 0.006)
OKLCHoklch(52.33% 0.174 2)
XYZxyz(22.0057, 12.5420, 12.8150)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E62 #2EB480
analogous
#B42EA5 #B42E62 #B43D2E
triadic
#B42E62 #62B42E #2E62B4
tetradic
#B42E62 #A5B42E #2EB480 #3D2EB4
square
#B42E62 #A5B42E #2EB480 #3D2EB4
split-complementary
#B42E62 #2EB43D #2EA5B4
monochromatic
#53152D #832247 #B42E62 #D24E81 #DE7EA3

Accessibility & contrast

On white

5.99
#B42E62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B42E62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E62
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E62#FFFFFF#000000##FFFFFF
##B42E621.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5363
Deuteranopia (green-blind)
#706D5F
Tritanopia (blue-blind)
#C41544
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42e62;
/* rgb */ color: rgb(180, 46, 98);
/* oklch */ color: oklch(52.3% 0.174 2.0);
Tailwind
colors: {
  custom: {
    50: '#d0738e',
    500: '#b42e62',
    950: '#000000',
  },
}
SCSS
$custom: #b42e62;
$custom-light: #d0738e;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e62",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 336.716,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.17405,
    "h": 2
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#B42E62
secondary
#77C7A8
accent
#E2A545
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B42E62

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

Preview Lab → · Contrast checker → · Palette generator →

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