#B5418B#B5418B

#B5418B is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.9% C 0.170 H 344.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B5418B
RGBrgb(181, 65, 139)
HSLhsl(322, 47%, 48%)
HSVhsv(322, 64%, 71%)
CMYKcmyk(0%, 64.1%, 23.2%, 29%)
CIE-LABlab(46.27, 54.52, -16.81)
CIE-LCHlch(46.27, 57.05, 342.87°)
OKLaboklab(55.92% 0.164 -0.0446)
OKLCHoklch(55.92% 0.17 344.8)
XYZxyz(25.6074, 15.4709, 26.0587)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5418B #41B56B
analogous
#A541B5 #B5418B #B54151
triadic
#B5418B #8BB541 #418BB5
tetradic
#B5418B #B5A541 #41B56B #4151B5
square
#B5418B #B5A541 #41B56B #4151B5
split-complementary
#B5418B #51B541 #41B5A5
monochromatic
#5B2146 #883168 #B5418B #C96AA7 #DA97C1

Accessibility & contrast

On white

5.13
#B5418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B5418B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5418B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5418B#FFFFFF#000000##FFFFFF
##B5418B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#6E7588
Tritanopia (blue-blind)
#C04060
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b5418b;
/* rgb */ color: rgb(181, 65, 139);
/* oklch */ color: oklch(55.9% 0.170 344.8);
Tailwind
colors: {
  custom: {
    50: '#cf7dad',
    500: '#b5418b',
    950: '#000000',
  },
}
SCSS
$custom: #b5418b;
$custom-light: #cf7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5418b",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 321.724,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55918,
    "c": 0.17001,
    "h": 344.8
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#B5418B
secondary
#8CC5A1
accent
#D78151
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5418B

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

Preview Lab → · Contrast checker → · Palette generator →

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