#B41862#B41862

#B41862 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.8% C 0.193 H 359.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B41862
RGBrgb(180, 24, 98)
HSLhsl(332, 76%, 40%)
HSVhsv(332, 87%, 71%)
CMYKcmyk(0%, 86.7%, 45.6%, 29.4%)
CIE-LABlab(39.98, 62.66, -0.93)
CIE-LCHlch(39.98, 62.66, 359.15°)
OKLaboklab(50.8% 0.193 -0.0017)
OKLCHoklch(50.8% 0.193 359.5)
XYZxyz(21.3554, 11.2414, 12.5982)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41862 #18B46A
analogous
#B418B0 #B41862 #B41C18
triadic
#B41862 #62B418 #1862B4
tetradic
#B41862 #B0B418 #18B46A #1C18B4
square
#B41862 #B0B418 #18B46A #1C18B4
split-complementary
#B41862 #18B41C #18B0B4
monochromatic
#480A27 #7E1145 #B41862 #E22780 #E95DA0

Accessibility & contrast

On white

6.47
#B41862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B41862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41862
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41862#FFFFFF#000000##FFFFFF
##B418621.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C64
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b41862;
/* rgb */ color: rgb(180, 24, 98);
/* oklch */ color: oklch(50.8% 0.193 359.5);
Tailwind
colors: {
  custom: {
    50: '#d16b8e',
    500: '#b41862',
    950: '#000000',
  },
}
SCSS
$custom: #b41862;
$custom-light: #d16b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b41862",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 331.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.19299,
    "h": 359.5
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#B41862
secondary
#5BCD97
accent
#F39935
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B41862

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

Preview Lab → · Contrast checker → · Palette generator →

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