#B41F98#B41F98

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

Color values

HEX#B41F98
RGBrgb(180, 31, 152)
HSLhsl(311, 71%, 41%)
HSVhsv(311, 83%, 71%)
CMYKcmyk(0%, 82.8%, 15.6%, 29.4%)
CIE-LABlab(42.69, 67.29, -30.22)
CIE-LCHlch(42.69, 73.77, 335.82°)
OKLaboklab(53.47% 0.1992 -0.0823)
OKLCHoklch(53.47% 0.216 337.6)
XYZxyz(24.9805, 12.9527, 30.8842)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F98 #1FB43B
analogous
#861FB4 #B41F98 #B41F4E
triadic
#B41F98 #98B41F #1F98B4
tetradic
#B41F98 #B4861F #1FB43B #1F4EB4
square
#B41F98 #B4861F #1FB43B #1F4EB4
split-complementary
#B41F98 #4EB41F #1FB486
monochromatic
#4C0D40 #80166C #B41F98 #DC34BD #E568CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B41F98#FFFFFF#000000##FFFFFF
##B41F981.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)
#26579B
Deuteranopia (green-blind)
#5C6D95
Tritanopia (blue-blind)
#BE2A5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41f98;
/* rgb */ color: rgb(180, 31, 152);
/* oklch */ color: oklch(53.5% 0.216 337.6);
Tailwind
colors: {
  custom: {
    50: '#cf6fb6',
    500: '#b41f98',
    950: '#000000',
  },
}
SCSS
$custom: #b41f98;
$custom-light: #cf6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f98",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 311.275,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53473,
    "c": 0.21553,
    "h": 337.6
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B41F98

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

Preview Lab → · Contrast checker → · Palette generator →

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