#B5368B#B5368B

#B5368B is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.185 H 343.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B5368B
RGBrgb(181, 54, 139)
HSLhsl(320, 54%, 46%)
HSVhsv(320, 70%, 71%)
CMYKcmyk(0%, 70.2%, 23.2%, 29%)
CIE-LABlab(44.70, 58.87, -19.21)
CIE-LCHlch(44.70, 61.93, 341.93°)
OKLaboklab(54.77% 0.1774 -0.0513)
OKLCHoklch(54.77% 0.185 343.9)
XYZxyz(25.0363, 14.3287, 25.8683)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5368B #36B560
analogous
#9F36B5 #B5368B #B5364B
triadic
#B5368B #8BB536 #368BB5
tetradic
#B5368B #B59F36 #36B560 #364BB5
square
#B5368B #B59F36 #36B560 #364BB5
split-complementary
#B5368B #4BB536 #36B59F
monochromatic
#571A43 #862867 #B5368B #CE5AA8 #DC89C1

Accessibility & contrast

On white

5.43
#B5368B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B5368B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5368B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5368B#FFFFFF#000000##FFFFFF
##B5368B1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8D
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#C1355C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5368b;
/* rgb */ color: rgb(181, 54, 139);
/* oklch */ color: oklch(54.8% 0.185 343.9);
Tailwind
colors: {
  custom: {
    50: '#cf77ad',
    500: '#b5368b',
    950: '#000000',
  },
}
SCSS
$custom: #b5368b;
$custom-light: #cf77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5368b",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 319.843,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54767,
    "c": 0.18463,
    "h": 343.9
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#B5368B
secondary
#81C698
accent
#DD7B4A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5368B

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

Preview Lab → · Contrast checker → · Palette generator →

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