#B41F81#B41F81

#B41F81 is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.4% C 0.202 H 346.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B41F81
RGBrgb(180, 31, 129)
HSLhsl(321, 71%, 41%)
HSVhsv(321, 83%, 71%)
CMYKcmyk(0%, 82.8%, 28.3%, 29.4%)
CIE-LABlab(41.64, 64.36, -17.81)
CIE-LCHlch(41.64, 66.77, 344.53°)
OKLaboklab(52.38% 0.1962 -0.0472)
OKLCHoklch(52.38% 0.202 346.5)
XYZxyz(23.2760, 12.2710, 21.9074)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F81 #1FB452
analogous
#9D1FB4 #B41F81 #B41F37
triadic
#B41F81 #81B41F #1F81B4
tetradic
#B41F81 #B49D1F #1FB452 #1F37B4
square
#B41F81 #B49D1F #1FB452 #1F37B4
split-complementary
#B41F81 #37B41F #1FB49D
monochromatic
#4C0D36 #80165C #B41F81 #DC34A3 #E568BA

Accessibility & contrast

On white

6.08
#B41F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B41F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F81
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F81#FFFFFF#000000##FFFFFF
##B41F811.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385283
Deuteranopia (green-blind)
#656B7E
Tritanopia (blue-blind)
#C1184F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b41f81;
/* rgb */ color: rgb(180, 31, 129);
/* oklch */ color: oklch(52.4% 0.202 346.5);
Tailwind
colors: {
  custom: {
    50: '#cf6ea5',
    500: '#b41f81',
    950: '#000000',
  },
}
SCSS
$custom: #b41f81;
$custom-light: #cf6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f81",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 320.537,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.20177,
    "h": 346.5
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#B41F81
secondary
#64CB87
accent
#ED783A
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B41F81

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

Preview Lab → · Contrast checker → · Palette generator →

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