#B5407C#B5407C

#B5407C is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.2% C 0.163 H 352.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B5407C
RGBrgb(181, 64, 124)
HSLhsl(329, 48%, 48%)
HSVhsv(329, 65%, 71%)
CMYKcmyk(0%, 64.6%, 31.5%, 29%)
CIE-LABlab(45.56, 52.97, -8.78)
CIE-LCHlch(45.56, 53.70, 350.59°)
OKLaboklab(55.21% 0.1614 -0.0226)
OKLCHoklch(55.21% 0.163 352)
XYZxyz(24.5288, 14.9484, 20.6584)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5407C #40B579
analogous
#B340B5 #B5407C #B54041
triadic
#B5407C #7CB540 #407CB5
tetradic
#B5407C #B5B340 #40B579 #4041B5
square
#B5407C #B5B340 #40B579 #4041B5
split-complementary
#B5407C #41B540 #40B5B3
monochromatic
#5B203E #88305D #B5407C #CA689A #DA96B9

Accessibility & contrast

On white

5.26
#B5407C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B5407C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5407C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5407C#FFFFFF#000000##FFFFFF
##B5407C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7E
Deuteranopia (green-blind)
#727479
Tritanopia (blue-blind)
#C23959
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b5407c;
/* rgb */ color: rgb(181, 64, 124);
/* oklch */ color: oklch(55.2% 0.163 352.0);
Tailwind
colors: {
  custom: {
    50: '#cf7ca1',
    500: '#b5407c',
    950: '#000000',
  },
}
SCSS
$custom: #b5407c;
$custom-light: #cf7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5407c",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 329.231,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55214,
    "c": 0.16298,
    "h": 352
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#B5407C
secondary
#8BC5A8
accent
#D79250
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0F
muted
#837C7E

Preview Lab

Preview with #B5407C

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

Preview Lab → · Contrast checker → · Palette generator →

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