#B41F8E#B41F8E

#B41F8E is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 53.0% C 0.209 H 341.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B41F8E
RGBrgb(180, 31, 142)
HSLhsl(315, 71%, 41%)
HSVhsv(315, 83%, 71%)
CMYKcmyk(0%, 82.8%, 21.1%, 29.4%)
CIE-LABlab(42.21, 65.96, -24.89)
CIE-LCHlch(42.21, 70.50, 339.32°)
OKLaboklab(52.98% 0.1982 -0.0671)
OKLCHoklch(52.98% 0.209 341.3)
XYZxyz(24.1957, 12.6389, 26.7513)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F8E #1FB445
analogous
#901FB4 #B41F8E #B41F44
triadic
#B41F8E #8EB41F #1F8EB4
tetradic
#B41F8E #B4901F #1FB445 #1F44B4
square
#B41F8E #B4901F #1FB445 #1F44B4
split-complementary
#B41F8E #44B41F #1FB490
monochromatic
#4C0D3C #801665 #B41F8E #DC34B1 #E568C5

Accessibility & contrast

On white

5.95
#B41F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B41F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F8E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F8E#FFFFFF#000000##FFFFFF
##B41F8E1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#BF2356
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b41f8e;
/* rgb */ color: rgb(180, 31, 142);
/* oklch */ color: oklch(53.0% 0.209 341.3);
Tailwind
colors: {
  custom: {
    50: '#cf6faf',
    500: '#b41f8e',
    950: '#000000',
  },
}
SCSS
$custom: #b41f8e;
$custom-light: #cf6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f8e",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 315.302,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.20927,
    "h": 341.3
  },
  "luminance": 0.12636
}

Semantic roles & 50–950 ramp

primary
#B41F8E
secondary
#64CB7E
accent
#ED683A
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B41F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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