#B42862#B42862

#B42862 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.180 H 1.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B42862
RGBrgb(180, 40, 98)
HSLhsl(335, 64%, 43%)
HSVhsv(335, 78%, 71%)
CMYKcmyk(0%, 77.8%, 45.6%, 29.4%)
CIE-LABlab(41.38, 58.66, 1.11)
CIE-LCHlch(41.38, 58.67, 1.08°)
OKLaboklab(51.83% 0.1801 0.0035)
OKLCHoklch(51.83% 0.18 1.1)
XYZxyz(21.7875, 12.1056, 12.7422)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42862 #28B47A
analogous
#B428A8 #B42862 #B43428
triadic
#B42862 #62B428 #2862B4
tetradic
#B42862 #A8B428 #28B47A #3428B4
square
#B42862 #A8B428 #28B47A #3428B4
split-complementary
#B42862 #28B434 #28A8B4
monochromatic
#50122B #821D47 #B42862 #D54480 #E176A2

Accessibility & contrast

On white

6.14
#B42862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B42862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42862
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42862#FFFFFF#000000##FFFFFF
##B428621.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#6F6B5F
Tritanopia (blue-blind)
#C40742
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42862;
/* rgb */ color: rgb(180, 40, 98);
/* oklch */ color: oklch(51.8% 0.180 1.1);
Tailwind
colors: {
  custom: {
    50: '#d0708e',
    500: '#b42862',
    950: '#000000',
  },
}
SCSS
$custom: #b42862;
$custom-light: #d0708e;
$custom-dark: #000000;
JSON
{
  "hex": "#b42862",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 335.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.18014,
    "h": 1.1
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#B42862
secondary
#70C8A3
accent
#E7A241
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B42862

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

Preview Lab → · Contrast checker → · Palette generator →

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