#B42E6A#B42E6A

#B42E6A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.177 H 358.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B42E6A
RGBrgb(180, 46, 106)
HSLhsl(333, 59%, 44%)
HSVhsv(333, 74%, 71%)
CMYKcmyk(0%, 74.4%, 41.1%, 29.4%)
CIE-LABlab(42.31, 57.53, -2.54)
CIE-LCHlch(42.31, 57.58, 357.47°)
OKLaboklab(52.59% 0.1766 -0.006)
OKLCHoklch(52.59% 0.177 358.1)
XYZxyz(22.4025, 12.7007, 14.9047)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E6A #2EB478
analogous
#B42EAD #B42E6A #B4352E
triadic
#B42E6A #6AB42E #2E6AB4
tetradic
#B42E6A #ADB42E #2EB478 #352EB4
square
#B42E6A #ADB42E #2EB478 #352EB4
split-complementary
#B42E6A #2EB435 #2EADB4
monochromatic
#531531 #83224D #B42E6A #D24E89 #DE7EA9

Accessibility & contrast

On white

5.93
#B42E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B42E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E6A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E6A#FFFFFF#000000##FFFFFF
##B42E6A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A546C
Deuteranopia (green-blind)
#6F6D67
Tritanopia (blue-blind)
#C31B48
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42e6a;
/* rgb */ color: rgb(180, 46, 106);
/* oklch */ color: oklch(52.6% 0.177 358.1);
Tailwind
colors: {
  custom: {
    50: '#d07394',
    500: '#b42e6a',
    950: '#000000',
  },
}
SCSS
$custom: #b42e6a;
$custom-light: #d07394;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e6a",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 333.134,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.17673,
    "h": 358.1
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#B42E6A
secondary
#77C7A3
accent
#E29C45
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B42E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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