#B41F99#B41F99

#B41F99 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.5% C 0.216 H 337.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B41F99
RGBrgb(180, 31, 153)
HSLhsl(311, 71%, 41%)
HSVhsv(311, 83%, 71%)
CMYKcmyk(0%, 82.8%, 15%, 29.4%)
CIE-LABlab(42.74, 67.43, -30.74)
CIE-LCHlch(42.74, 74.11, 335.49°)
OKLaboklab(53.53% 0.1993 -0.0838)
OKLCHoklch(53.53% 0.216 337.2)
XYZxyz(25.0627, 12.9856, 31.3174)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F99 #1FB43A
analogous
#851FB4 #B41F99 #B41F4F
triadic
#B41F99 #99B41F #1F99B4
tetradic
#B41F99 #B4851F #1FB43A #1F4FB4
square
#B41F99 #B4851F #1FB43A #1F4FB4
split-complementary
#B41F99 #4FB41F #1FB485
monochromatic
#4C0D40 #80166D #B41F99 #DC34BE #E568CE

Accessibility & contrast

On white

5.84
#B41F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B41F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F99
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F99#FFFFFF#000000##FFFFFF
##B41F991.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#BE2B5D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41f99;
/* rgb */ color: rgb(180, 31, 153);
/* oklch */ color: oklch(53.5% 0.216 337.2);
Tailwind
colors: {
  custom: {
    50: '#cf6fb7',
    500: '#b41f99',
    950: '#000000',
  },
}
SCSS
$custom: #b41f99;
$custom-light: #cf6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f99",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 310.872,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.21618,
    "h": 337.2
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#B41F99
secondary
#64CB77
accent
#ED5B3A
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41F99

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

Preview Lab → · Contrast checker → · Palette generator →

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