#B5418D#B5418D

#B5418D is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.0% C 0.171 H 343.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B5418D
RGBrgb(181, 65, 141)
HSLhsl(321, 47%, 48%)
HSVhsv(321, 64%, 71%)
CMYKcmyk(0%, 64.1%, 22.1%, 29%)
CIE-LABlab(46.35, 54.79, -17.89)
CIE-LCHlch(46.35, 57.64, 341.92°)
OKLaboklab(56% 0.1645 -0.0477)
OKLCHoklch(56% 0.171 343.8)
XYZxyz(25.7549, 15.5299, 26.8353)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5418D #41B569
analogous
#A341B5 #B5418D #B54153
triadic
#B5418D #8DB541 #418DB5
tetradic
#B5418D #B5A341 #41B569 #4153B5
square
#B5418D #B5A341 #41B569 #4153B5
split-complementary
#B5418D #53B541 #41B5A3
monochromatic
#5B2147 #88316A #B5418D #C96AA8 #DA97C3

Accessibility & contrast

On white

5.12
#B5418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B5418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5418D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5418D#FFFFFF#000000##FFFFFF
##B5418D1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C628F
Deuteranopia (green-blind)
#6E758A
Tritanopia (blue-blind)
#C04161
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b5418d;
/* rgb */ color: rgb(181, 65, 141);
/* oklch */ color: oklch(56.0% 0.171 343.8);
Tailwind
colors: {
  custom: {
    50: '#ce7dae',
    500: '#b5418d',
    950: '#000000',
  },
}
SCSS
$custom: #b5418d;
$custom-light: #ce7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#b5418d",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 320.69,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.17127,
    "h": 343.8
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#B5418D
secondary
#8CC5A0
accent
#D77F51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5418D

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

Preview Lab → · Contrast checker → · Palette generator →

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