#B42861#B42861

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

Color values

HEX#B42861
RGBrgb(180, 40, 97)
HSLhsl(336, 64%, 43%)
HSVhsv(336, 78%, 71%)
CMYKcmyk(0%, 77.8%, 46.1%, 29.4%)
CIE-LABlab(41.35, 58.57, 1.70)
CIE-LCHlch(41.35, 58.59, 1.66°)
OKLaboklab(51.8% 0.1798 0.005)
OKLCHoklch(51.8% 0.18 1.6)
XYZxyz(21.7406, 12.0869, 12.4951)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42861 #28B47B
analogous
#B428A7 #B42861 #B43528
triadic
#B42861 #61B428 #2861B4
tetradic
#B42861 #A7B428 #28B47B #3528B4
square
#B42861 #A7B428 #28B47B #3528B4
split-complementary
#B42861 #28B435 #28A7B4
monochromatic
#50122B #821D46 #B42861 #D5447F #E176A1

Accessibility & contrast

On white

6.15
#B42861 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42861
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42861#FFFFFF#000000##FFFFFF
##B428611.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495062
Deuteranopia (green-blind)
#6F6B5E
Tritanopia (blue-blind)
#C40541
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42861;
/* rgb */ color: rgb(180, 40, 97);
/* oklch */ color: oklch(51.8% 0.180 1.6);
Tailwind
colors: {
  custom: {
    50: '#d0708d',
    500: '#b42861',
    950: '#000000',
  },
}
SCSS
$custom: #b42861;
$custom-light: #d0708d;
$custom-dark: #000000;
JSON
{
  "hex": "#b42861",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 97
  },
  "hsl": {
    "h": 335.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.17983,
    "h": 1.6
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#B42861
secondary
#70C8A4
accent
#E7A341
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B42861

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

Preview Lab → · Contrast checker → · Palette generator →

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