#B5368F#B5368F

#B5368F is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.187 H 342.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B5368F
RGBrgb(181, 54, 143)
HSLhsl(318, 54%, 46%)
HSVhsv(318, 70%, 71%)
CMYKcmyk(0%, 70.2%, 21%, 29%)
CIE-LABlab(44.87, 59.42, -21.38)
CIE-LCHlch(44.87, 63.14, 340.21°)
OKLaboklab(54.94% 0.1781 -0.0573)
OKLCHoklch(54.94% 0.187 342.2)
XYZxyz(25.3339, 14.4478, 27.4358)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5368F #36B55C
analogous
#9B36B5 #B5368F #B5364F
triadic
#B5368F #8FB536 #368FB5
tetradic
#B5368F #B59B36 #36B55C #364FB5
square
#B5368F #B59B36 #36B55C #364FB5
split-complementary
#B5368F #4FB536 #36B59B
monochromatic
#571A45 #86286A #B5368F #CE5AAB #DC89C3

Accessibility & contrast

On white

5.40
#B5368F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B5368F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5368F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5368F#FFFFFF#000000##FFFFFF
##B5368F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D92
Deuteranopia (green-blind)
#68728C
Tritanopia (blue-blind)
#C0375E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5368f;
/* rgb */ color: rgb(181, 54, 143);
/* oklch */ color: oklch(54.9% 0.187 342.2);
Tailwind
colors: {
  custom: {
    50: '#cf78b0',
    500: '#b5368f',
    950: '#000000',
  },
}
SCSS
$custom: #b5368f;
$custom-light: #cf78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5368f",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 317.953,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.18713,
    "h": 342.2
  },
  "luminance": 0.14445
}

Semantic roles & 50–950 ramp

primary
#B5368F
secondary
#81C695
accent
#DD764A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5368F

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

Preview Lab → · Contrast checker → · Palette generator →

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