#B41F8A#B41F8A

#B41F8A is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.8% C 0.207 H 342.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B41F8A
RGBrgb(180, 31, 138)
HSLhsl(317, 71%, 41%)
HSVhsv(317, 83%, 71%)
CMYKcmyk(0%, 82.8%, 23.3%, 29.4%)
CIE-LABlab(42.03, 65.45, -22.73)
CIE-LCHlch(42.03, 69.29, 340.85°)
OKLaboklab(52.79% 0.1977 -0.061)
OKLCHoklch(52.79% 0.207 342.9)
XYZxyz(23.9008, 12.5209, 25.1979)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F8A #1FB449
analogous
#941FB4 #B41F8A #B41F40
triadic
#B41F8A #8AB41F #1F8AB4
tetradic
#B41F8A #B4941F #1FB449 #1F40B4
square
#B41F8A #B4941F #1FB449 #1F40B4
split-complementary
#B41F8A #40B41F #1FB494
monochromatic
#4C0D3A #801662 #B41F8A #DC34AD #E568C2

Accessibility & contrast

On white

5.99
#B41F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B41F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F8A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F8A#FFFFFF#000000##FFFFFF
##B41F8A1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#C02054
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41f8a;
/* rgb */ color: rgb(180, 31, 138);
/* oklch */ color: oklch(52.8% 0.207 342.9);
Tailwind
colors: {
  custom: {
    50: '#cf6eac',
    500: '#b41f8a',
    950: '#000000',
  },
}
SCSS
$custom: #b41f8a;
$custom-light: #cf6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f8a",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 316.913,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.20688,
    "h": 342.9
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#B41F8A
secondary
#64CB81
accent
#ED6D3A
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B41F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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