#B42F84#B42F84

#B42F84 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.188 H 346.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B42F84
RGBrgb(180, 47, 132)
HSLhsl(322, 59%, 45%)
HSVhsv(322, 74%, 71%)
CMYKcmyk(0%, 73.9%, 26.7%, 29.4%)
CIE-LABlab(43.37, 60.16, -17.01)
CIE-LCHlch(43.37, 62.52, 344.21°)
OKLaboklab(53.67% 0.1826 -0.0451)
OKLCHoklch(53.67% 0.188 346.1)
XYZxyz(24.0048, 13.4049, 23.1486)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F84 #2FB45F
analogous
#A22FB4 #B42F84 #B42F42
triadic
#B42F84 #84B42F #2F84B4
tetradic
#B42F84 #B4A22F #2FB45F #2F42B4
square
#B42F84 #B4A22F #2FB45F #2F42B4
split-complementary
#B42F84 #42B42F #2FB4A2
monochromatic
#53163D #832260 #B42F84 #D14FA2 #DE80BC

Accessibility & contrast

On white

5.71
#B42F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B42F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F84
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F84#FFFFFF#000000##FFFFFF
##B42F841.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415886
Deuteranopia (green-blind)
#686F81
Tritanopia (blue-blind)
#C02C55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42f84;
/* rgb */ color: rgb(180, 47, 132);
/* oklch */ color: oklch(53.7% 0.188 346.1);
Tailwind
colors: {
  custom: {
    50: '#cf74a8',
    500: '#b42f84',
    950: '#000000',
  },
}
SCSS
$custom: #b42f84;
$custom-light: #cf74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f84",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 321.654,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.18804,
    "h": 346.1
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#B42F84
secondary
#78C794
accent
#E27E46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42F84

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

Preview Lab → · Contrast checker → · Palette generator →

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