#B5358C#B5358C

#B5358C is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.186 H 343.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B5358C
RGBrgb(181, 53, 140)
HSLhsl(319, 55%, 46%)
HSVhsv(319, 71%, 71%)
CMYKcmyk(0%, 70.7%, 22.7%, 29%)
CIE-LABlab(44.61, 59.37, -19.96)
CIE-LCHlch(44.61, 62.64, 341.42°)
OKLaboklab(54.72% 0.1787 -0.0533)
OKLCHoklch(54.72% 0.186 343.4)
XYZxyz(25.0637, 14.2660, 26.2395)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5358C #35B55E
analogous
#9E35B5 #B5358C #B5354C
triadic
#B5358C #8CB535 #358CB5
tetradic
#B5358C #B59E35 #35B55E #354CB5
square
#B5358C #B59E35 #35B55E #354CB5
split-complementary
#B5358C #4CB535 #35B59E
monochromatic
#561943 #862767 #B5358C #CE59A9 #DC88C1

Accessibility & contrast

On white

5.45
#B5358C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B5358C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5358C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5358C#FFFFFF#000000##FFFFFF
##B5358C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8E
Deuteranopia (green-blind)
#697189
Tritanopia (blue-blind)
#C1355C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5358c;
/* rgb */ color: rgb(181, 53, 140);
/* oklch */ color: oklch(54.7% 0.186 343.4);
Tailwind
colors: {
  custom: {
    50: '#cf77ad',
    500: '#b5358c',
    950: '#000000',
  },
}
SCSS
$custom: #b5358c;
$custom-light: #cf77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5358c",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 319.219,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.18648,
    "h": 343.4
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#B5358C
secondary
#80C696
accent
#DE794A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5358C

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

Preview Lab → · Contrast checker → · Palette generator →

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