#B41F7C#B41F7C

#B41F7C is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.2% C 0.199 H 348.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B41F7C
RGBrgb(180, 31, 124)
HSLhsl(323, 71%, 41%)
HSVhsv(323, 83%, 71%)
CMYKcmyk(0%, 82.8%, 31.1%, 29.4%)
CIE-LABlab(41.44, 63.77, -15.03)
CIE-LCHlch(41.44, 65.52, 346.74°)
OKLaboklab(52.16% 0.1952 -0.0395)
OKLCHoklch(52.16% 0.199 348.6)
XYZxyz(22.9517, 12.1413, 20.1997)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F7C #1FB457
analogous
#A21FB4 #B41F7C #B41F32
triadic
#B41F7C #7CB41F #1F7CB4
tetradic
#B41F7C #B4A21F #1FB457 #1F32B4
square
#B41F7C #B4A21F #1FB457 #1F32B4
split-complementary
#B41F7C #32B41F #1FB4A2
monochromatic
#4C0D34 #801658 #B41F7C #DC349D #E568B6

Accessibility & contrast

On white

6.13
#B41F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B41F7C
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F7C#FFFFFF#000000##FFFFFF
##B41F7C1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#C1134C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b41f7c;
/* rgb */ color: rgb(180, 31, 124);
/* oklch */ color: oklch(52.2% 0.199 348.6);
Tailwind
colors: {
  custom: {
    50: '#cf6ea2',
    500: '#b41f7c',
    950: '#000000',
  },
}
SCSS
$custom: #b41f7c;
$custom-light: #cf6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f7c",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 322.55,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.19912,
    "h": 348.6
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#B41F7C
secondary
#64CB8B
accent
#ED7E3A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080F
muted
#837B7E

Preview Lab

Preview with #B41F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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