#B41F78#B41F78

#B41F78 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 52.0% C 0.197 H 350.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B41F78
RGBrgb(180, 31, 120)
HSLhsl(324, 71%, 41%)
HSVhsv(324, 83%, 71%)
CMYKcmyk(0%, 82.8%, 33.3%, 29.4%)
CIE-LABlab(41.28, 63.33, -12.79)
CIE-LCHlch(41.28, 64.60, 348.58°)
OKLaboklab(52% 0.1943 -0.0333)
OKLCHoklch(52% 0.197 350.3)
XYZxyz(22.7039, 12.0421, 18.8944)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F78 #1FB45B
analogous
#A61FB4 #B41F78 #B41F2E
triadic
#B41F78 #78B41F #1F78B4
tetradic
#B41F78 #B4A61F #1FB45B #1F2EB4
square
#B41F78 #B4A61F #1FB45B #1F2EB4
split-complementary
#B41F78 #2EB41F #1FB4A6
monochromatic
#4C0D32 #801655 #B41F78 #DC3498 #E568B3

Accessibility & contrast

On white

6.16
#B41F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B41F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F78
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F78#FFFFFF#000000##FFFFFF
##B41F781.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#676B75
Tritanopia (blue-blind)
#C20F4A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b41f78;
/* rgb */ color: rgb(180, 31, 120);
/* oklch */ color: oklch(52.0% 0.197 350.3);
Tailwind
colors: {
  custom: {
    50: '#cf6e9f',
    500: '#b41f78',
    950: '#000000',
  },
}
SCSS
$custom: #b41f78;
$custom-light: #cf6e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f78",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 324.161,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.1971,
    "h": 350.3
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#B41F78
secondary
#64CB8D
accent
#ED823A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B41F78

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

Preview Lab → · Contrast checker → · Palette generator →

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