#B5388C#B5388C

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

Color values

HEX#B5388C
RGBrgb(181, 56, 140)
HSLhsl(320, 53%, 46%)
HSVhsv(320, 69%, 71%)
CMYKcmyk(0%, 69.1%, 22.7%, 29%)
CIE-LABlab(45.01, 58.26, -19.35)
CIE-LCHlch(45.01, 61.39, 341.63°)
OKLaboklab(55.01% 0.1753 -0.0516)
OKLCHoklch(55.01% 0.183 343.6)
XYZxyz(25.2047, 14.5481, 26.2865)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5388C #38B561
analogous
#A038B5 #B5388C #B5384E
triadic
#B5388C #8CB538 #388CB5
tetradic
#B5388C #B5A038 #38B561 #384EB5
square
#B5388C #B5A038 #38B561 #384EB5
split-complementary
#B5388C #4EB538 #38B5A0
monochromatic
#581B44 #862A68 #B5388C #CD5DA8 #DB8CC1

Accessibility & contrast

On white

5.37
#B5388C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B5388C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5388C
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5388C#FFFFFF#000000##FFFFFF
##B5388C1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8E
Deuteranopia (green-blind)
#6A7289
Tritanopia (blue-blind)
#C1385D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5388c;
/* rgb */ color: rgb(181, 56, 140);
/* oklch */ color: oklch(55.0% 0.183 343.6);
Tailwind
colors: {
  custom: {
    50: '#cf78ad',
    500: '#b5388c',
    950: '#000000',
  },
}
SCSS
$custom: #b5388c;
$custom-light: #cf78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5388c",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 319.68,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.18274,
    "h": 343.6
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5388C

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

Preview Lab → · Contrast checker → · Palette generator →

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