#B42F76#B42F76

#B42F76 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.181 H 352.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B42F76
RGBrgb(180, 47, 118)
HSLhsl(328, 59%, 45%)
HSVhsv(328, 74%, 71%)
CMYKcmyk(0%, 73.9%, 34.4%, 29.4%)
CIE-LABlab(42.83, 58.48, -9.21)
CIE-LCHlch(42.83, 59.20, 351.05°)
OKLaboklab(53.11% 0.1792 -0.0237)
OKLCHoklch(53.11% 0.181 352.5)
XYZxyz(23.1103, 13.0471, 18.4373)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F76 #2FB46D
analogous
#B02FB4 #B42F76 #B42F34
triadic
#B42F76 #76B42F #2F76B4
tetradic
#B42F76 #B4B02F #2FB46D #2F34B4
square
#B42F76 #B4B02F #2FB46D #2F34B4
split-complementary
#B42F76 #34B42F #2FB4B0
monochromatic
#531636 #832256 #B42F76 #D14F94 #DE80B2

Accessibility & contrast

On white

5.82
#B42F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B42F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F76
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F76#FFFFFF#000000##FFFFFF
##B42F761.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475678
Deuteranopia (green-blind)
#6C6E73
Tritanopia (blue-blind)
#C2244E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42f76;
/* rgb */ color: rgb(180, 47, 118);
/* oklch */ color: oklch(53.1% 0.181 352.5);
Tailwind
colors: {
  custom: {
    50: '#cf749d',
    500: '#b42f76',
    950: '#000000',
  },
}
SCSS
$custom: #b42f76;
$custom-light: #cf749d;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f76",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 327.97,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.18071,
    "h": 352.5
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#B42F76
secondary
#78C79D
accent
#E28F46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B42F76

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

Preview Lab → · Contrast checker → · Palette generator →

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