#B5388F#B5388F

#B5388F is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.185 H 342.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B5388F
RGBrgb(181, 56, 143)
HSLhsl(318, 53%, 46%)
HSVhsv(318, 69%, 71%)
CMYKcmyk(0%, 69.1%, 21%, 29%)
CIE-LABlab(45.13, 58.67, -20.97)
CIE-LCHlch(45.13, 62.31, 340.33°)
OKLaboklab(55.14% 0.1759 -0.0562)
OKLCHoklch(55.14% 0.185 342.3)
XYZxyz(25.4289, 14.6378, 27.4674)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5388F #38B55E
analogous
#9D38B5 #B5388F #B53851
triadic
#B5388F #8FB538 #388FB5
tetradic
#B5388F #B59D38 #38B55E #3851B5
square
#B5388F #B59D38 #38B55E #3851B5
split-complementary
#B5388F #51B538 #38B59D
monochromatic
#581B45 #862A6A #B5388F #CD5DAB #DB8CC3

Accessibility & contrast

On white

5.35
#B5388F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B5388F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5388F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5388F#FFFFFF#000000##FFFFFF
##B5388F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435E91
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#C0395E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b5388f;
/* rgb */ color: rgb(181, 56, 143);
/* oklch */ color: oklch(55.1% 0.185 342.3);
Tailwind
colors: {
  custom: {
    50: '#cf79b0',
    500: '#b5388f',
    950: '#000000',
  },
}
SCSS
$custom: #b5388f;
$custom-light: #cf79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5388f",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 318.24,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.18464,
    "h": 342.3
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#B5388F
secondary
#83C697
accent
#DC784C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5388F

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

Preview Lab → · Contrast checker → · Palette generator →

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