#B41895#B41895

#B41895 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 53.0% C 0.219 H 338.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B41895
RGBrgb(180, 24, 149)
HSLhsl(312, 76%, 40%)
HSVhsv(312, 87%, 71%)
CMYKcmyk(0%, 86.7%, 17.2%, 29.4%)
CIE-LABlab(42.04, 68.34, -29.41)
CIE-LCHlch(42.04, 74.40, 336.71°)
OKLaboklab(52.96% 0.2034 -0.0799)
OKLCHoklch(52.96% 0.219 338.5)
XYZxyz(24.5745, 12.5290, 29.5521)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41895 #18B437
analogous
#8518B4 #B41895 #B41847
triadic
#B41895 #95B418 #1895B4
tetradic
#B41895 #B48518 #18B437 #1847B4
square
#B41895 #B48518 #18B437 #1847B4
split-complementary
#B41895 #47B418 #18B485
monochromatic
#480A3C #7E1168 #B41895 #E227BD #E95DCE

Accessibility & contrast

On white

5.99
#B41895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B41895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41895
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41895#FFFFFF#000000##FFFFFF
##B418951.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#5C6B92
Tritanopia (blue-blind)
#BF2359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41895;
/* rgb */ color: rgb(180, 24, 149);
/* oklch */ color: oklch(53.0% 0.219 338.5);
Tailwind
colors: {
  custom: {
    50: '#cf6db4',
    500: '#b41895',
    950: '#000000',
  },
}
SCSS
$custom: #b41895;
$custom-light: #cf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#b41895",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 311.923,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.21851,
    "h": 338.5
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#B41895
secondary
#5BCD71
accent
#F35B35
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41895

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

Preview Lab → · Contrast checker → · Palette generator →

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