#B5407F#B5407F

#B5407F is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.3% C 0.165 H 350.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B5407F
RGBrgb(181, 64, 127)
HSLhsl(328, 48%, 48%)
HSVhsv(328, 65%, 71%)
CMYKcmyk(0%, 64.6%, 29.8%, 29%)
CIE-LABlab(45.67, 53.35, -10.45)
CIE-LCHlch(45.67, 54.36, 348.92°)
OKLaboklab(55.33% 0.1623 -0.0272)
OKLCHoklch(55.33% 0.165 350.5)
XYZxyz(24.7214, 15.0254, 21.6728)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5407F #40B576
analogous
#B040B5 #B5407F #B54045
triadic
#B5407F #7FB540 #407FB5
tetradic
#B5407F #B5B040 #40B576 #4045B5
square
#B5407F #B5B040 #40B576 #4045B5
split-complementary
#B5407F #45B540 #40B5B0
monochromatic
#5B2040 #88305F #B5407F #CA689D #DA96BA

Accessibility & contrast

On white

5.24
#B5407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B5407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5407F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5407F#FFFFFF#000000##FFFFFF
##B5407F1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F81
Deuteranopia (green-blind)
#71747C
Tritanopia (blue-blind)
#C23A5A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b5407f;
/* rgb */ color: rgb(181, 64, 127);
/* oklch */ color: oklch(55.3% 0.165 350.5);
Tailwind
colors: {
  custom: {
    50: '#cf7ca4',
    500: '#b5407f',
    950: '#000000',
  },
}
SCSS
$custom: #b5407f;
$custom-light: #cf7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#b5407f",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 327.692,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.16452,
    "h": 350.5
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#B5407F
secondary
#8BC5A6
accent
#D78F50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B5407F

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

Preview Lab → · Contrast checker → · Palette generator →

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