#B42870#B42870

#B42870 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.185 H 354.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B42870
RGBrgb(180, 40, 112)
HSLhsl(329, 64%, 43%)
HSVhsv(329, 78%, 71%)
CMYKcmyk(0%, 77.8%, 37.8%, 29.4%)
CIE-LABlab(41.84, 60.05, -6.98)
CIE-LCHlch(41.84, 60.45, 353.37°)
OKLaboklab(52.31% 0.1845 -0.0177)
OKLCHoklch(52.31% 0.185 354.5)
XYZxyz(22.5073, 12.3936, 16.5331)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42870 #28B46C
analogous
#B228B4 #B42870 #B4282A
triadic
#B42870 #70B428 #2870B4
tetradic
#B42870 #B4B228 #28B46C #282AB4
square
#B42870 #B4B228 #28B46C #282AB4
split-complementary
#B42870 #2AB428 #28B4B2
monochromatic
#501232 #821D51 #B42870 #D5448F #E176AD

Accessibility & contrast

On white

6.04
#B42870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B42870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42870
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42870#FFFFFF#000000##FFFFFF
##B428701.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#6C6C6D
Tritanopia (blue-blind)
#C21649
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42870;
/* rgb */ color: rgb(180, 40, 112);
/* oklch */ color: oklch(52.3% 0.185 354.5);
Tailwind
colors: {
  custom: {
    50: '#cf7199',
    500: '#b42870',
    950: '#000000',
  },
}
SCSS
$custom: #b42870;
$custom-light: #cf7199;
$custom-dark: #000000;
JSON
{
  "hex": "#b42870",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 329.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.18537,
    "h": 354.5
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#B42870
secondary
#70C89B
accent
#E79241
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B42870

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

Preview Lab → · Contrast checker → · Palette generator →

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