#B5388B#B5388B

#B5388B is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.182 H 344.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B5388B
RGBrgb(181, 56, 139)
HSLhsl(320, 53%, 46%)
HSVhsv(320, 69%, 71%)
CMYKcmyk(0%, 69.1%, 23.2%, 29%)
CIE-LABlab(44.97, 58.13, -18.80)
CIE-LCHlch(44.97, 61.09, 342.07°)
OKLaboklab(54.96% 0.1751 -0.0501)
OKLCHoklch(54.96% 0.182 344)
XYZxyz(25.1313, 14.5187, 25.9000)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5388B #38B562
analogous
#A138B5 #B5388B #B5384D
triadic
#B5388B #8BB538 #388BB5
tetradic
#B5388B #B5A138 #38B562 #384DB5
square
#B5388B #B5A138 #38B562 #384DB5
split-complementary
#B5388B #4DB538 #38B5A1
monochromatic
#581B43 #862A67 #B5388B #CD5DA7 #DB8CC1

Accessibility & contrast

On white

5.38
#B5388B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B5388B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5388B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5388B#FFFFFF#000000##FFFFFF
##B5388B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#C1375C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5388b;
/* rgb */ color: rgb(181, 56, 139);
/* oklch */ color: oklch(55.0% 0.182 344.0);
Tailwind
colors: {
  custom: {
    50: '#cf78ad',
    500: '#b5388b',
    950: '#000000',
  },
}
SCSS
$custom: #b5388b;
$custom-light: #cf78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5388b",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 320.16,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54962,
    "c": 0.18212,
    "h": 344
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#B5388B
secondary
#83C699
accent
#DC7C4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5388B

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

Preview Lab → · Contrast checker → · Palette generator →

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