#B41F87#B41F87

#B41F87 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.205 H 344.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B41F87
RGBrgb(180, 31, 135)
HSLhsl(318, 71%, 41%)
HSVhsv(318, 83%, 71%)
CMYKcmyk(0%, 82.8%, 25%, 29.4%)
CIE-LABlab(41.90, 65.08, -21.10)
CIE-LCHlch(41.90, 68.42, 342.03°)
OKLaboklab(52.65% 0.1972 -0.0564)
OKLCHoklch(52.65% 0.205 344)
XYZxyz(23.6866, 12.4352, 24.0698)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F87 #1FB44C
analogous
#971FB4 #B41F87 #B41F3D
triadic
#B41F87 #87B41F #1F87B4
tetradic
#B41F87 #B4971F #1FB44C #1F3DB4
square
#B41F87 #B4971F #1FB44C #1F3DB4
split-complementary
#B41F87 #3DB41F #1FB497
monochromatic
#4C0D39 #801660 #B41F87 #DC34A9 #E568BF

Accessibility & contrast

On white

6.02
#B41F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B41F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F87
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F87#FFFFFF#000000##FFFFFF
##B41F871.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34538A
Deuteranopia (green-blind)
#636C84
Tritanopia (blue-blind)
#C01E52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41f87;
/* rgb */ color: rgb(180, 31, 135);
/* oklch */ color: oklch(52.6% 0.205 344.0);
Tailwind
colors: {
  custom: {
    50: '#cf6eaa',
    500: '#b41f87',
    950: '#000000',
  },
}
SCSS
$custom: #b41f87;
$custom-light: #cf6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f87",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 318.121,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.20514,
    "h": 344
  },
  "luminance": 0.12433
}

Semantic roles & 50–950 ramp

primary
#B41F87
secondary
#64CB83
accent
#ED703A
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B41F87

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

Preview Lab → · Contrast checker → · Palette generator →

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