#B41F8B#B41F8B

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

Color values

HEX#B41F8B
RGBrgb(180, 31, 139)
HSLhsl(317, 71%, 41%)
HSVhsv(317, 83%, 71%)
CMYKcmyk(0%, 82.8%, 22.8%, 29.4%)
CIE-LABlab(42.08, 65.58, -23.28)
CIE-LCHlch(42.08, 69.59, 340.46°)
OKLaboklab(52.83% 0.1978 -0.0625)
OKLCHoklch(52.83% 0.207 342.5)
XYZxyz(23.9735, 12.5500, 25.5810)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F8B #1FB448
analogous
#931FB4 #B41F8B #B41F41
triadic
#B41F8B #8BB41F #1F8BB4
tetradic
#B41F8B #B4931F #1FB448 #1F41B4
square
#B41F8B #B4931F #1FB448 #1F41B4
split-complementary
#B41F8B #41B41F #1FB493
monochromatic
#4C0D3A #801663 #B41F8B #DC34AE #E568C3

Accessibility & contrast

On white

5.98
#B41F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B41F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F8B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F8B#FFFFFF#000000##FFFFFF
##B41F8B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548E
Deuteranopia (green-blind)
#616C88
Tritanopia (blue-blind)
#C02155
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41f8b;
/* rgb */ color: rgb(180, 31, 139);
/* oklch */ color: oklch(52.8% 0.207 342.5);
Tailwind
colors: {
  custom: {
    50: '#cf6ead',
    500: '#b41f8b',
    950: '#000000',
  },
}
SCSS
$custom: #b41f8b;
$custom-light: #cf6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f8b",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 316.51,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.20748,
    "h": 342.5
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#B41F8B
secondary
#64CB80
accent
#ED6C3A
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B41F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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