#B41F97#B41F97

#B41F97 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.4% C 0.215 H 337.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B41F97
RGBrgb(180, 31, 151)
HSLhsl(312, 71%, 41%)
HSVhsv(312, 83%, 71%)
CMYKcmyk(0%, 82.8%, 16.1%, 29.4%)
CIE-LABlab(42.64, 67.16, -29.69)
CIE-LCHlch(42.64, 73.43, 336.15°)
OKLaboklab(53.42% 0.1991 -0.0807)
OKLCHoklch(53.42% 0.215 337.9)
XYZxyz(24.8989, 12.9201, 30.4547)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F97 #1FB43C
analogous
#871FB4 #B41F97 #B41F4D
triadic
#B41F97 #97B41F #1F97B4
tetradic
#B41F97 #B4871F #1FB43C #1F4DB4
square
#B41F97 #B4871F #1FB43C #1F4DB4
split-complementary
#B41F97 #4DB41F #1FB487
monochromatic
#4C0D3F #80166B #B41F97 #DC34BB #E568CD

Accessibility & contrast

On white

5.86
#B41F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B41F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F97
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F97#FFFFFF#000000##FFFFFF
##B41F971.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#5D6D94
Tritanopia (blue-blind)
#BE295B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41f97;
/* rgb */ color: rgb(180, 31, 151);
/* oklch */ color: oklch(53.4% 0.215 337.9);
Tailwind
colors: {
  custom: {
    50: '#cf6fb6',
    500: '#b41f97',
    950: '#000000',
  },
}
SCSS
$custom: #b41f97;
$custom-light: #cf6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f97",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 311.678,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.21489,
    "h": 337.9
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#B41F97
secondary
#64CB78
accent
#ED5D3A
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41F97

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

Preview Lab → · Contrast checker → · Palette generator →

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