#B42E66#B42E66

#B42E66 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.175 H 0.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B42E66
RGBrgb(180, 46, 102)
HSLhsl(335, 59%, 44%)
HSVhsv(335, 74%, 71%)
CMYKcmyk(0%, 74.4%, 43.3%, 29.4%)
CIE-LABlab(42.18, 57.13, -0.23)
CIE-LCHlch(42.18, 57.13, 359.77°)
OKLaboklab(52.46% 0.1753 0.0001)
OKLCHoklch(52.46% 0.175 0)
XYZxyz(22.1993, 12.6195, 13.8346)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E66 #2EB47C
analogous
#B42EA9 #B42E66 #B4392E
triadic
#B42E66 #66B42E #2E66B4
tetradic
#B42E66 #A9B42E #2EB47C #392EB4
square
#B42E66 #A9B42E #2EB47C #392EB4
split-complementary
#B42E66 #2EB439 #2EA9B4
monochromatic
#53152F #83224A #B42E66 #D24E85 #DE7EA6

Accessibility & contrast

On white

5.96
#B42E66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B42E66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E66
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E66#FFFFFF#000000##FFFFFF
##B42E661.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5367
Deuteranopia (green-blind)
#706D63
Tritanopia (blue-blind)
#C31846
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42e66;
/* rgb */ color: rgb(180, 46, 102);
/* oklch */ color: oklch(52.5% 0.175 0.0);
Tailwind
colors: {
  custom: {
    50: '#d07391',
    500: '#b42e66',
    950: '#000000',
  },
}
SCSS
$custom: #b42e66;
$custom-light: #d07391;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e66",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 334.925,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.17532,
    "h": 0
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#B42E66
secondary
#77C7A5
accent
#E2A145
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B42E66

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

Preview Lab → · Contrast checker → · Palette generator →

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