#B42864#B42864

#B42864 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.181 H 0.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B42864
RGBrgb(180, 40, 100)
HSLhsl(334, 64%, 43%)
HSVhsv(334, 78%, 71%)
CMYKcmyk(0%, 77.8%, 44.4%, 29.4%)
CIE-LABlab(41.44, 58.85, -0.06)
CIE-LCHlch(41.44, 58.85, 359.94°)
OKLaboklab(51.89% 0.1808 0.0005)
OKLCHoklch(51.89% 0.181 0.2)
XYZxyz(21.8832, 12.1439, 13.2458)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42864 #28B478
analogous
#B428AA #B42864 #B43228
triadic
#B42864 #64B428 #2864B4
tetradic
#B42864 #AAB428 #28B478 #3228B4
square
#B42864 #AAB428 #28B478 #3228B4
split-complementary
#B42864 #28B432 #28AAB4
monochromatic
#50122C #821D48 #B42864 #D54482 #E176A4

Accessibility & contrast

On white

6.13
#B42864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B42864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42864
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42864#FFFFFF#000000##FFFFFF
##B428641.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495165
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#C30943
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42864;
/* rgb */ color: rgb(180, 40, 100);
/* oklch */ color: oklch(51.9% 0.181 0.2);
Tailwind
colors: {
  custom: {
    50: '#d07090',
    500: '#b42864',
    950: '#000000',
  },
}
SCSS
$custom: #b42864;
$custom-light: #d07090;
$custom-dark: #000000;
JSON
{
  "hex": "#b42864",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 334.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.18078,
    "h": 0.2
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#B42864
secondary
#70C8A2
accent
#E7A041
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B42864

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

Preview Lab → · Contrast checker → · Palette generator →

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