#B5418F#B5418F

#B5418F is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.1% C 0.173 H 342.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B5418F
RGBrgb(181, 65, 143)
HSLhsl(320, 47%, 48%)
HSVhsv(320, 64%, 71%)
CMYKcmyk(0%, 64.1%, 21%, 29%)
CIE-LABlab(46.43, 55.08, -18.97)
CIE-LCHlch(46.43, 58.25, 340.99°)
OKLaboklab(56.09% 0.1649 -0.0507)
OKLCHoklch(56.09% 0.173 342.9)
XYZxyz(25.9050, 15.5899, 27.6261)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5418F #41B567
analogous
#A141B5 #B5418F #B54155
triadic
#B5418F #8FB541 #418FB5
tetradic
#B5418F #B5A141 #41B567 #4155B5
square
#B5418F #B5A141 #41B567 #4155B5
split-complementary
#B5418F #55B541 #41B5A1
monochromatic
#5B2148 #88316B #B5418F #C96AAA #DA97C4

Accessibility & contrast

On white

5.10
#B5418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B5418F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5418F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5418F#FFFFFF#000000##FFFFFF
##B5418F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6291
Deuteranopia (green-blind)
#6D758C
Tritanopia (blue-blind)
#C04162
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b5418f;
/* rgb */ color: rgb(181, 65, 143);
/* oklch */ color: oklch(56.1% 0.173 342.9);
Tailwind
colors: {
  custom: {
    50: '#ce7db0',
    500: '#b5418f',
    950: '#000000',
  },
}
SCSS
$custom: #b5418f;
$custom-light: #ce7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5418f",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 319.655,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.17255,
    "h": 342.9
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#B5418F
secondary
#8CC59F
accent
#D77D51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5418F

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

Preview Lab → · Contrast checker → · Palette generator →

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