#B42F72#B42F72

#B42F72 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.179 H 354.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B42F72
RGBrgb(180, 47, 114)
HSLhsl(330, 59%, 45%)
HSVhsv(330, 74%, 71%)
CMYKcmyk(0%, 73.9%, 36.7%, 29.4%)
CIE-LABlab(42.69, 58.03, -6.94)
CIE-LCHlch(42.69, 58.45, 353.18°)
OKLaboklab(52.96% 0.178 -0.0176)
OKLCHoklch(52.96% 0.179 354.4)
XYZxyz(22.8776, 12.9540, 17.2119)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F72 #2FB471
analogous
#B32FB4 #B42F72 #B42F30
triadic
#B42F72 #72B42F #2F72B4
tetradic
#B42F72 #B4B32F #2FB471 #2F30B4
square
#B42F72 #B4B32F #2FB471 #2F30B4
split-complementary
#B42F72 #30B42F #2FB4B3
monochromatic
#531635 #832253 #B42F72 #D14F91 #DE80AF

Accessibility & contrast

On white

5.85
#B42F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B42F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F72
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F72#FFFFFF#000000##FFFFFF
##B42F721.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#6D6E6F
Tritanopia (blue-blind)
#C2214C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42f72;
/* rgb */ color: rgb(180, 47, 114);
/* oklch */ color: oklch(53.0% 0.179 354.4);
Tailwind
colors: {
  custom: {
    50: '#cf739a',
    500: '#b42f72',
    950: '#000000',
  },
}
SCSS
$custom: #b42f72;
$custom-light: #cf739a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f72",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 329.774,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.17888,
    "h": 354.4
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#B42F72
secondary
#78C79F
accent
#E29346
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42F72

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

Preview Lab → · Contrast checker → · Palette generator →

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