#B5409F#B5409F

#B5409F is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.7% C 0.185 H 336.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B5409F
RGBrgb(181, 64, 159)
HSLhsl(311, 48%, 48%)
HSVhsv(311, 65%, 71%)
CMYKcmyk(0%, 64.6%, 12.2%, 29%)
CIE-LABlab(46.97, 57.86, -27.72)
CIE-LCHlch(46.97, 64.16, 334.41°)
OKLaboklab(56.71% 0.1691 -0.0753)
OKLCHoklch(56.71% 0.185 336)
XYZxyz(27.1478, 15.9960, 34.4519)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5409F #40B556
analogous
#9040B5 #B5409F #B54064
triadic
#B5409F #9FB540 #409FB5
tetradic
#B5409F #B59040 #40B556 #4064B5
square
#B5409F #B59040 #40B556 #4064B5
split-complementary
#B5409F #64B540 #40B590
monochromatic
#5B2050 #883077 #B5409F #CA68B7 #DA96CD

Accessibility & contrast

On white

5.00
#B5409F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B5409F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5409F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5409F#FFFFFF#000000##FFFFFF
##B5409F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A2
Deuteranopia (green-blind)
#67769C
Tritanopia (blue-blind)
#BE476A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b5409f;
/* rgb */ color: rgb(181, 64, 159);
/* oklch */ color: oklch(56.7% 0.185 336.0);
Tailwind
colors: {
  custom: {
    50: '#ce7dbb',
    500: '#b5409f',
    950: '#000000',
  },
}
SCSS
$custom: #b5409f;
$custom-light: #ce7dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#b5409f",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 311.282,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.18511,
    "h": 336
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#B5409F
secondary
#8BC596
accent
#D76A50
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B5409F

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

Preview Lab → · Contrast checker → · Palette generator →

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