#B42866#B42866

#B42866 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.181 H 359.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B42866
RGBrgb(180, 40, 102)
HSLhsl(333, 64%, 43%)
HSVhsv(333, 78%, 71%)
CMYKcmyk(0%, 77.8%, 43.3%, 29.4%)
CIE-LABlab(41.51, 59.04, -1.22)
CIE-LCHlch(41.51, 59.05, 358.81°)
OKLaboklab(51.96% 0.1814 -0.0025)
OKLCHoklch(51.96% 0.181 359.2)
XYZxyz(21.9811, 12.1831, 13.7619)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42866 #28B476
analogous
#B428AC #B42866 #B43028
triadic
#B42866 #66B428 #2866B4
tetradic
#B42866 #ACB428 #28B476 #3028B4
square
#B42866 #ACB428 #28B476 #3028B4
split-complementary
#B42866 #28B430 #28ACB4
monochromatic
#50122D #821D4A #B42866 #D54484 #E176A5

Accessibility & contrast

On white

6.11
#B42866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B42866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42866
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42866#FFFFFF#000000##FFFFFF
##B428661.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485167
Deuteranopia (green-blind)
#6E6B63
Tritanopia (blue-blind)
#C30C44
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42866;
/* rgb */ color: rgb(180, 40, 102);
/* oklch */ color: oklch(52.0% 0.181 359.2);
Tailwind
colors: {
  custom: {
    50: '#d07091',
    500: '#b42866',
    950: '#000000',
  },
}
SCSS
$custom: #b42866;
$custom-light: #d07091;
$custom-dark: #000000;
JSON
{
  "hex": "#b42866",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 333.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.18146,
    "h": 359.2
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#B42866
secondary
#70C8A1
accent
#E79D41
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B42866

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

Preview Lab → · Contrast checker → · Palette generator →

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