#B41F9B#B41F9B

#B41F9B is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.6% C 0.217 H 336.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B41F9B
RGBrgb(180, 31, 155)
HSLhsl(310, 71%, 41%)
HSVhsv(310, 83%, 71%)
CMYKcmyk(0%, 82.8%, 13.9%, 29.4%)
CIE-LABlab(42.84, 67.71, -31.79)
CIE-LCHlch(42.84, 74.80, 334.85°)
OKLaboklab(53.63% 0.1994 -0.0868)
OKLCHoklch(53.63% 0.217 336.5)
XYZxyz(25.2293, 13.0523, 32.1946)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F9B #1FB438
analogous
#831FB4 #B41F9B #B41F51
triadic
#B41F9B #9BB41F #1F9BB4
tetradic
#B41F9B #B4831F #1FB438 #1F51B4
square
#B41F9B #B4831F #1FB438 #1F51B4
split-complementary
#B41F9B #51B41F #1FB483
monochromatic
#4C0D41 #80166E #B41F9B #DC34C0 #E568D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B41F9B#FFFFFF#000000##FFFFFF
##B41F9B1.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)
#23579E
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#BE2C5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41f9b;
/* rgb */ color: rgb(180, 31, 155);
/* oklch */ color: oklch(53.6% 0.217 336.5);
Tailwind
colors: {
  custom: {
    50: '#cf6fb9',
    500: '#b41f9b',
    950: '#000000',
  },
}
SCSS
$custom: #b41f9b;
$custom-light: #cf6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f9b",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 310.067,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53629,
    "c": 0.21748,
    "h": 336.5
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#B41F9B
secondary
#64CB75
accent
#ED583A
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B41F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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