#B41F7D#B41F7D

#B41F7D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.200 H 348.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B41F7D
RGBrgb(180, 31, 125)
HSLhsl(322, 71%, 41%)
HSVhsv(322, 83%, 71%)
CMYKcmyk(0%, 82.8%, 30.6%, 29.4%)
CIE-LABlab(41.48, 63.89, -15.59)
CIE-LCHlch(41.48, 65.76, 346.29°)
OKLaboklab(52.21% 0.1954 -0.0411)
OKLCHoklch(52.21% 0.2 348.1)
XYZxyz(23.0153, 12.1667, 20.5345)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F7D #1FB456
analogous
#A11FB4 #B41F7D #B41F32
triadic
#B41F7D #7DB41F #1F7DB4
tetradic
#B41F7D #B4A11F #1FB456 #1F32B4
square
#B41F7D #B4A11F #1FB456 #1F32B4
split-complementary
#B41F7D #32B41F #1FB4A1
monochromatic
#4C0D34 #801659 #B41F7D #DC349E #E568B7

Accessibility & contrast

On white

6.12
#B41F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B41F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F7D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F7D#FFFFFF#000000##FFFFFF
##B41F7D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#C1144D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b41f7d;
/* rgb */ color: rgb(180, 31, 125);
/* oklch */ color: oklch(52.2% 0.200 348.1);
Tailwind
colors: {
  custom: {
    50: '#cf6ea2',
    500: '#b41f7d',
    950: '#000000',
  },
}
SCSS
$custom: #b41f7d;
$custom-light: #cf6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f7d",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 322.148,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.19964,
    "h": 348.1
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#B41F7D
secondary
#64CB8A
accent
#ED7C3A
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B41F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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