#B42865#B42865

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

Color values

HEX#B42865
RGBrgb(180, 40, 101)
HSLhsl(334, 64%, 43%)
HSVhsv(334, 78%, 71%)
CMYKcmyk(0%, 77.8%, 43.9%, 29.4%)
CIE-LABlab(41.47, 58.94, -0.64)
CIE-LCHlch(41.47, 58.95, 359.38°)
OKLaboklab(51.92% 0.1811 -0.001)
OKLCHoklch(51.92% 0.181 359.7)
XYZxyz(21.9319, 12.1634, 13.5023)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42865 #28B477
analogous
#B428AB #B42865 #B43128
triadic
#B42865 #65B428 #2865B4
tetradic
#B42865 #ABB428 #28B477 #3128B4
square
#B42865 #ABB428 #28B477 #3128B4
split-complementary
#B42865 #28B431 #28ABB4
monochromatic
#50122D #821D49 #B42865 #D54483 #E176A4

Accessibility & contrast

On white

6.12
#B42865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42865
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42865#FFFFFF#000000##FFFFFF
##B428651.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485166
Deuteranopia (green-blind)
#6E6B62
Tritanopia (blue-blind)
#C30A43
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42865;
/* rgb */ color: rgb(180, 40, 101);
/* oklch */ color: oklch(51.9% 0.181 359.7);
Tailwind
colors: {
  custom: {
    50: '#d07090',
    500: '#b42865',
    950: '#000000',
  },
}
SCSS
$custom: #b42865;
$custom-light: #d07090;
$custom-dark: #000000;
JSON
{
  "hex": "#b42865",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 333.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.18111,
    "h": 359.7
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42865

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

Preview Lab → · Contrast checker → · Palette generator →

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