#B5368C#B5368C

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

Color values

HEX#B5368C
RGBrgb(181, 54, 140)
HSLhsl(319, 54%, 46%)
HSVhsv(319, 70%, 71%)
CMYKcmyk(0%, 70.2%, 22.7%, 29%)
CIE-LABlab(44.74, 59.01, -19.76)
CIE-LCHlch(44.74, 62.23, 341.49°)
OKLaboklab(54.81% 0.1776 -0.0528)
OKLCHoklch(54.81% 0.185 343.4)
XYZxyz(25.1097, 14.3581, 26.2549)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5368C #36B55F
analogous
#9E36B5 #B5368C #B5364C
triadic
#B5368C #8CB536 #368CB5
tetradic
#B5368C #B59E36 #36B55F #364CB5
square
#B5368C #B59E36 #36B55F #364CB5
split-complementary
#B5368C #4CB536 #36B59E
monochromatic
#571A43 #862868 #B5368C #CE5AA9 #DC89C1

Accessibility & contrast

On white

5.42
#B5368C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5368C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5368C#FFFFFF#000000##FFFFFF
##B5368C1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8E
Deuteranopia (green-blind)
#697189
Tritanopia (blue-blind)
#C1365C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b5368c;
/* rgb */ color: rgb(181, 54, 140);
/* oklch */ color: oklch(54.8% 0.185 343.4);
Tailwind
colors: {
  custom: {
    50: '#cf78ad',
    500: '#b5368c',
    950: '#000000',
  },
}
SCSS
$custom: #b5368c;
$custom-light: #cf78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5368c",
  "rgb": {
    "r": 181,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 319.37,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.18525,
    "h": 343.4
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#B5368C
secondary
#81C697
accent
#DD7A4A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5368C

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

Preview Lab → · Contrast checker → · Palette generator →

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