#B5407D#B5407D

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

Color values

HEX#B5407D
RGBrgb(181, 64, 125)
HSLhsl(329, 48%, 48%)
HSVhsv(329, 65%, 71%)
CMYKcmyk(0%, 64.6%, 30.9%, 29%)
CIE-LABlab(45.60, 53.10, -9.34)
CIE-LCHlch(45.60, 53.91, 350.03°)
OKLaboklab(55.25% 0.1617 -0.0241)
OKLCHoklch(55.25% 0.163 351.5)
XYZxyz(24.5923, 14.9738, 20.9932)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5407D #40B578
analogous
#B240B5 #B5407D #B54042
triadic
#B5407D #7DB540 #407DB5
tetradic
#B5407D #B5B240 #40B578 #4042B5
square
#B5407D #B5B240 #40B578 #4042B5
split-complementary
#B5407D #42B540 #40B5B2
monochromatic
#5B203F #88305E #B5407D #CA689B #DA96B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5407D#FFFFFF#000000##FFFFFF
##B5407D1.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)
#515F7F
Deuteranopia (green-blind)
#72747A
Tritanopia (blue-blind)
#C23A59
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b5407d;
/* rgb */ color: rgb(181, 64, 125);
/* oklch */ color: oklch(55.3% 0.163 351.5);
Tailwind
colors: {
  custom: {
    50: '#cf7ca2',
    500: '#b5407d',
    950: '#000000',
  },
}
SCSS
$custom: #b5407d;
$custom-light: #cf7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5407d",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 328.718,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55251,
    "c": 0.16348,
    "h": 351.5
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#B5407D
secondary
#8BC5A7
accent
#D79150
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B5407D

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

Preview Lab → · Contrast checker → · Palette generator →

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