#B5388E#B5388E

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

Color values

HEX#B5388E
RGBrgb(181, 56, 142)
HSLhsl(319, 53%, 46%)
HSVhsv(319, 69%, 71%)
CMYKcmyk(0%, 69.1%, 21.5%, 29%)
CIE-LABlab(45.09, 58.53, -20.43)
CIE-LCHlch(45.09, 62.00, 340.76°)
OKLaboklab(55.09% 0.1757 -0.0547)
OKLCHoklch(55.09% 0.184 342.7)
XYZxyz(25.3535, 14.6076, 27.0703)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5388E #38B55F
analogous
#9E38B5 #B5388E #B53850
triadic
#B5388E #8EB538 #388EB5
tetradic
#B5388E #B59E38 #38B55F #3850B5
square
#B5388E #B59E38 #38B55F #3850B5
split-complementary
#B5388E #50B538 #38B59E
monochromatic
#581B45 #862A69 #B5388E #CD5DAA #DB8CC3

Accessibility & contrast

On white

5.36
#B5388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B5388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5388E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5388E#FFFFFF#000000##FFFFFF
##B5388E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5388e;
/* rgb */ color: rgb(181, 56, 142);
/* oklch */ color: oklch(55.1% 0.184 342.7);
Tailwind
colors: {
  custom: {
    50: '#cf79af',
    500: '#b5388e',
    950: '#000000',
  },
}
SCSS
$custom: #b5388e;
$custom-light: #cf79af;
$custom-dark: #000000;
JSON
{
  "hex": "#b5388e",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 318.72,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55093,
    "c": 0.184,
    "h": 342.7
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#B5388E
secondary
#83C698
accent
#DC794C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5388E

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

Preview Lab → · Contrast checker → · Palette generator →

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